Merge pull request elastic/elasticsearch#2317 from rjernst/kibana_gradle_improvements

Build: Only build uber xpack if kibana was built

Original commit: elastic/x-pack-elasticsearch@5b585dbb8a
This commit is contained in:
Ryan Ernst 2016-06-09 05:43:31 +02:00
commit 90d6e6756a
1 changed files with 1 additions and 0 deletions

View File

@ -14,6 +14,7 @@ subprojects {
}
task bundlePack(type: Zip) {
onlyIf { project('kibana').bundlePlugin.enabled }
dependsOn 'elasticsearch:x-pack:bundlePlugin'
dependsOn 'kibana:bundlePlugin'
from { zipTree(project('elasticsearch:x-pack').bundlePlugin.outputs.files.singleFile) }