This commit is contained in:
2026-01-09 21:48:48 +01:00
parent c89433c8dd
commit a711ba501d
28 changed files with 1343 additions and 123 deletions

View File

@@ -6,10 +6,23 @@ stonecutter.active "1.21.11"
tasks.register("chiseledBuild") {
group = "build"
dependsOn(stonecutter.tree.nodes.collect { it.project.tasks.named("remapJar") })
}
tasks.register("chiseledClean") {
group = "build"
dependsOn(stonecutter.tree.nodes.collect { it.project.tasks.named("clean") })
}
gradle.projectsEvaluated {
def remapTasks = rootProject.subprojects
.collect { it.tasks.findByName("remapJar") }
.findAll { it != null }
def cleanTasks = rootProject.subprojects
.collect { it.tasks.findByName("clean") }
.findAll { it != null }
tasks.named("chiseledBuild") {
dependsOn(remapTasks)
}
tasks.named("chiseledClean") {
dependsOn(cleanTasks)
}
}