2015-11-23 17:45:24 -05:00
|
|
|
if (project.projectDir.name != 'x-plugins') {
|
|
|
|
throw new GradleException('You must checkout x-plugins in a directory named x-plugins next to elasticsearch')
|
2015-11-16 15:45:03 -05:00
|
|
|
}
|
|
|
|
|
2016-02-04 16:07:01 -05:00
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-11-20 15:02:25 -05:00
|
|
|
/*
|
2015-10-29 14:44:48 -04:00
|
|
|
<repository>
|
|
|
|
<id>elasticsearch-releases</id>
|
|
|
|
<url>http://maven.elasticsearch.org/releases</url>
|
|
|
|
<releases>
|
|
|
|
<enabled>true</enabled>
|
|
|
|
<updatePolicy>daily</updatePolicy>
|
|
|
|
</releases>
|
|
|
|
<snapshots>
|
|
|
|
<enabled>false</enabled>
|
|
|
|
</snapshots>
|
|
|
|
</repository>
|
|
|
|
<repository>
|
|
|
|
<id>elasticsearch-internal-snapshots</id>
|
|
|
|
<url>http://maven.elasticsearch.org/artifactory/internal-snapshots</url>
|
|
|
|
<releases>
|
|
|
|
<enabled>false</enabled>
|
|
|
|
</releases>
|
|
|
|
<snapshots>
|
|
|
|
<enabled>true</enabled>
|
|
|
|
<updatePolicy>always</updatePolicy>
|
|
|
|
</snapshots>
|
|
|
|
</repository>
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
subprojects {
|
|
|
|
task artifacts {
|
|
|
|
group = "Help"
|
|
|
|
description = "Displays the artifacts associated with each configuration of " + project
|
|
|
|
doFirst {
|
|
|
|
configurations.findAll().each { config ->
|
|
|
|
println "${config}:"
|
|
|
|
config.allArtifacts.getFiles().each { file -> println "" + file}
|
|
|
|
println ' '
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
*/
|