Build: Only build uber xpack if kibana was built

Original commit: elastic/x-pack-elasticsearch@0fe21ef46a
This commit is contained in:
Ryan Ernst 2016-05-23 11:34:51 -07:00
parent 6860944f07
commit c0f9b217a5

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) }