2022-01-15 01:18:02 +01: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 01:28:34 +01:00
|
|
|
|
|
|
|
tasks.register("test") {
|
|
|
|
gradle.includedBuilds.forEach {
|
|
|
|
dependsOn(it.task(":test"))
|
|
|
|
}
|
|
|
|
}
|
2022-04-20 22:54:27 +02:00
|
|
|
|
|
|
|
tasks.register("spotlessApply") {
|
|
|
|
gradle.includedBuilds.forEach {
|
|
|
|
dependsOn(it.task(":spotlessApply"))
|
|
|
|
}
|
|
|
|
}
|
2022-10-24 23:24:41 +02:00
|
|
|
|
2023-06-08 22:15:21 +02:00
|
|
|
tasks.register("spotlessCheck") {
|
|
|
|
gradle.includedBuilds.forEach {
|
|
|
|
dependsOn(it.task(":spotlessCheck"))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-10-24 23:24:41 +02:00
|
|
|
tasks.register("publish") {
|
|
|
|
gradle.includedBuilds.forEach {
|
|
|
|
dependsOn(it.task(":publish"))
|
|
|
|
}
|
|
|
|
}
|