Clean rebuild

Add to gradle build so that this is automatically done
throughout the update
This commit is contained in:
Spottedleaf 2023-06-07 22:03:07 -07:00
parent 6dd5e33927
commit 977dc40767

View file

@ -136,6 +136,11 @@ tasks.collectAtsFromPatches {
extraPatchDir.set(layout.projectDirectory.dir("patches/unapplied/server"))
}
// Uncomment while updating for a new Minecraft version
tasks.withType<io.papermc.paperweight.tasks.RebuildGitPatches> {
filterPatches.set(false)
}
tasks.register("printMinecraftVersion") {
doLast {
println(providers.gradleProperty("mcVersion").get().trim())