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:
parent
b295d764a6
commit
b11e5dbf4a
|
@ -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) }
|
||||
|
|
|
@ -49,3 +49,5 @@ bundlePlugin {
|
|||
includeEmptyDirs = false
|
||||
}
|
||||
}
|
||||
|
||||
bundlePlugin.dependsOn(':cpp:strip')
|
||||
|
|
Loading…
Reference in New Issue