2022-01-15 08:18:02 +08:00
|
|
|
|
|
|
|
tasks.register("clean") {
|
|
|
|
gradle.includedBuilds.forEach {
|
|
|
|
dependsOn(it.task(":clean"))
|
|
|
|
}
|
|
|
|
|
|
|
|
doFirst {
|
|
|
|
if (!file("build").deleteRecursively())
|
|
|
|
throw java.io.IOException("Failed to delete build directory!")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
tasks.register("build") {
|
|
|
|
gradle.includedBuilds.forEach {
|
|
|
|
dependsOn(it.task(":release"))
|
|
|
|
}
|
|
|
|
}
|
2022-01-15 08:28:34 +08:00
|
|
|
|
|
|
|
tasks.register("test") {
|
|
|
|
gradle.includedBuilds.forEach {
|
|
|
|
dependsOn(it.task(":test"))
|
|
|
|
}
|
|
|
|
}
|