mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 15:30:19 +01:00
Clean rebuild
Add to gradle build so that this is automatically done throughout the update
This commit is contained in:
parent
6dd5e33927
commit
977dc40767
1 changed files with 5 additions and 0 deletions
|
@ -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())
|
||||
|
|
Loading…
Reference in a new issue