Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add pluginZip publication for plugins in the plugins folder #16219

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Add pluginZip publication for plugins in the plugins folder
Signed-off-by: Craig Perkins <cwperx@amazon.com>
  • Loading branch information
cwperks committed Oct 7, 2024
commit d6670320ea16f9667272fab2779a88534b10c6be
5 changes: 5 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,11 @@ subprojects {
developer.appendNode('url', 'https://github.com/opensearch-project/OpenSearch')
}
}
pluginZip(MavenPublication) { publication ->
groupId = "org.opensearch.plugin"
artifactId = project.name
version = project.version
}
}
repositories {
maven {
Expand Down
1 change: 1 addition & 0 deletions plugins/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ subprojects {
configure(subprojects.findAll { it.parent.path == project.path }) {
group = 'org.opensearch.plugin'
apply plugin: 'opensearch.opensearchplugin'
apply plugin: 'opensearch.pluginzip'

opensearchplugin {
// for local ES plugins, the name of the plugin is the same as the directory
Expand Down
Loading