BlueMap/build.gradle.kts

42 lines
828 B
Plaintext
Raw Normal View History

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"))
}
}
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"))
}
}
tasks.register("spotlessCheck") {
gradle.includedBuilds.forEach {
dependsOn(it.task(":spotlessCheck"))
}
}
tasks.register("publish") {
gradle.includedBuilds.forEach {
dependsOn(it.task(":publish"))
}
}