mirror of
https://github.com/BlueMap-Minecraft/BlueMap.git
synced 2024-11-14 14:45:37 +01:00
36 lines
704 B
Plaintext
36 lines
704 B
Plaintext
|
|
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"))
|
|
}
|
|
}
|
|
|
|
tasks.register("spotlessApply") {
|
|
gradle.includedBuilds.forEach {
|
|
dependsOn(it.task(":spotlessApply"))
|
|
}
|
|
}
|
|
|
|
tasks.register("publish") {
|
|
gradle.includedBuilds.forEach {
|
|
dependsOn(it.task(":publish"))
|
|
}
|
|
}
|