OpenSearch/build.gradle

45 lines
1.3 KiB
Groovy
Raw Normal View History

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