aboutsummaryrefslogtreecommitdiffhomepage
path: root/build.gradle.kts
diff options
context:
space:
mode:
authorSpottedleaf <[email protected]>2023-06-07 22:03:07 -0700
committerSpottedleaf <[email protected]>2023-06-07 22:26:06 -0700
commit0c4a1c449662e842432f4458dbb2e26a0dbc66ff (patch)
tree167f7d237553a5ab59c5ea6d6c686b56563afa28 /build.gradle.kts
parentde18bb96e845285bae417603a9485d5e2f5a2be0 (diff)
downloadPaper-0c4a1c449662e842432f4458dbb2e26a0dbc66ff.tar.gz
Paper-0c4a1c449662e842432f4458dbb2e26a0dbc66ff.zip
Clean rebuild
Add to gradle build so that this is automatically done throughout the update
Diffstat (limited to 'build.gradle.kts')
-rw-r--r--build.gradle.kts5
1 files changed, 5 insertions, 0 deletions
diff --git a/build.gradle.kts b/build.gradle.kts
index d5566aac1e..78fd0ba92b 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -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())