mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-18 19:05:06 +00:00
Build: Disable publishing to sonatype, until we have it configured correctly
Original commit: elastic/x-pack-elasticsearch@081be69ed7
This commit is contained in:
parent
8996a3710a
commit
7e8bbe8f28
@ -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')
|
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>
|
<repository>
|
||||||
<id>elasticsearch-releases</id>
|
<id>elasticsearch-releases</id>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user