Add missing dependencies so we can build in parallel (#43672)
This commit is contained in:
parent
81dbcfb268
commit
d1a4d8866d
|
@ -117,7 +117,7 @@ task buildTransportModules {
|
|||
|
||||
void copyModule(Sync copyTask, Project module) {
|
||||
copyTask.configure {
|
||||
dependsOn { module.bundlePlugin }
|
||||
dependsOn "${module.path}:bundlePlugin"
|
||||
from({ zipTree(module.bundlePlugin.outputs.files.singleFile) }) {
|
||||
includeEmptyDirs false
|
||||
|
||||
|
@ -167,6 +167,7 @@ buildDefaultLog4jConfig.doLast(writeLog4jProperties)
|
|||
|
||||
// copy log4j2.properties from modules that have it
|
||||
void copyLog4jProperties(Task buildTask, Project module) {
|
||||
buildTask.dependsOn "${module.path}:bundlePlugin"
|
||||
buildTask.doFirst {
|
||||
FileTree tree = zipTree(module.bundlePlugin.outputs.files.singleFile)
|
||||
FileTree filtered = tree.matching {
|
||||
|
|
|
@ -51,9 +51,9 @@ dependencyLicenses {
|
|||
* can be easily shipped around and used.
|
||||
*/
|
||||
jar {
|
||||
dependsOn configurations.runtimeClasspath
|
||||
from({
|
||||
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
|
||||
configurations.runtime.collect { it.isDirectory() ? it : zipTree(it) }
|
||||
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
|
||||
}) {
|
||||
// We don't need the META-INF from the things we bundle. For now.
|
||||
exclude 'META-INF/*'
|
||||
|
|
Loading…
Reference in New Issue