Gradle task bundlePack needs to depend on cpp:strip (elastic/elasticsearch#368)

Otherwise the ES plugin can be bundled before the C++ is built

Original commit: elastic/x-pack-elasticsearch@079a59efdf
This commit is contained in:
David Roberts 2016-11-23 14:00:08 +00:00 committed by GitHub
parent b295d764a6
commit b11e5dbf4a
2 changed files with 3 additions and 1 deletions

View File

@ -54,7 +54,7 @@ subprojects {
}
task bundlePack(type: Zip) {
onlyIf { project('kibana').bundlePlugin.enabled }
onlyIf { project('kibana').bundlePlugin.enabled && project('cpp').strip.enabled }
dependsOn 'elasticsearch:bundlePlugin'
dependsOn 'kibana:bundlePlugin'
from { zipTree(project('elasticsearch').bundlePlugin.outputs.files.singleFile) }

View File

@ -49,3 +49,5 @@ bundlePlugin {
includeEmptyDirs = false
}
}
bundlePlugin.dependsOn(':cpp:strip')