mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-22 21:05:23 +00:00
Fix skipping install/upload for x-plugins to actually work
Original commit: elastic/x-pack-elasticsearch@39eb2f5c0f
This commit is contained in:
parent
7e8bbe8f28
commit
1e315d5e85
@ -4,9 +4,11 @@ if (project.projectDir.name != 'x-plugins') {
|
||||
|
||||
subprojects {
|
||||
// we must not publish to sonatype until we have set up x-plugins to only publish the parts we want to publish!
|
||||
if (project.plugins.hasPlugin('com.bmuschko.nexus')) {
|
||||
install.enabled = false
|
||||
uploadArchives.enabled = false
|
||||
project.afterEvaluate {
|
||||
if (project.plugins.hasPlugin('com.bmuschko.nexus')) {
|
||||
install.enabled = false
|
||||
uploadArchives.enabled = false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user