Build: Disable publishing to sonatype, until we have it configured correctly

Original commit: elastic/x-pack-elasticsearch@081be69ed7
This commit is contained in:
Ryan Ernst 2016-02-04 13:07:01 -08:00
parent 8996a3710a
commit 7e8bbe8f28
1 changed files with 8 additions and 0 deletions

View File

@ -2,6 +2,14 @@ if (project.projectDir.name != 'x-plugins') {
throw new GradleException('You must checkout x-plugins in a directory named x-plugins next to elasticsearch')
}
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
}
}
/*
<repository>
<id>elasticsearch-releases</id>