xenoterracide
08/22/2018, 9:36 PMtasks {
"build" {
gradle.includedBuilds.forEach { dependsOn(it.task(":${this.name}")) }
}
"clean" {
gradle.includedBuilds.forEach {
dependsOn(it.task(":${this.name}"))
}
}
"wrapper" {
gradle.includedBuilds.forEach {
dependsOn(it.task(":${this.name}"))
}
}
}
anyone know how I could covert the inline lambda's to a single reference?
e.g val delegateToAll = { gradle.includedBuilds.forEach { dependsOn(it.task(":${this.name}")) }