https://kotlinlang.org logo
#gradle
Title
x

xenoterracide

08/22/2018, 11:16 PM
Copy code
tasks.apply {
    val toAll: (Task).() -> Unit = {
        gradle.includedBuilds.forEach { this.dependsOn(it.task(":" + this.name)) }
    }
    register("build", toAll)
    register("clean", toAll)
    register("wrapper", toAll)
}