From 3a20c68190fc31e93372bdc228047a11738ed7c6 Mon Sep 17 00:00:00 2001 From: Jason Penilla <11360596+jpenilla@users.noreply.github.com> Date: Sun, 15 Dec 2024 21:28:46 -0700 Subject: [PATCH] update paper --- build.gradle.kts | 2 +- fork-server/build.gradle.kts.patch | 24 +++--------------------- 2 files changed, 4 insertions(+), 22 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index c290fa0..bde01bc 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -8,7 +8,7 @@ plugins { paperweight { upstreams.paper { - ref = "3a82d04b7e5f4f4f2cbde9d231ceb9a81ef93bbe" + ref = "e6559c553365946353881a7765b478930ce4b583" patchFile { path = "paper-server/build.gradle.kts" diff --git a/fork-server/build.gradle.kts.patch b/fork-server/build.gradle.kts.patch index 51f0746..1260bff 100644 --- a/fork-server/build.gradle.kts.patch +++ b/fork-server/build.gradle.kts.patch @@ -1,13 +1,6 @@ --- a/paper-server/build.gradle.kts +++ b/paper-server/build.gradle.kts -@@ -1,5 +_,5 @@ - import io.papermc.paperweight.attribute.DevBundleOutput --import io.papermc.paperweight.core.ext -+import io.papermc.paperweight.core.coreExt - import io.papermc.paperweight.util.* - import java.time.Instant - -@@ -22,25 +_,37 @@ +@@ -21,25 +_,37 @@ // macheOldPath = file("F:\\Projects\\PaperTooling\\mache\\versions\\1.21.4\\src\\main\\java") // gitFilePatches = true @@ -57,18 +50,7 @@ } tasks.generateDevelopmentBundle { -@@ -52,8 +_,8 @@ - - // TODO remove me again, this is just to not run setupMacheSource when patches change - tasks.setupMacheSources { -- paperPatches.setFrom(project.ext.paper.sourcePatchDir.dir("com"), project.ext.paper.featurePatchDir) -- // paperPatches.from(project.ext.paper.sourcePatchDir, project.ext.paper.featurePatchDir) -+ // paperPatches.setFrom(project.coreExt.paper.sourcePatchDir.dir("com"), project.coreExt.paper.featurePatchDir) -+ // paperPatches.from(project.coreExt.paper.sourcePatchDir, project.ext.paper.featurePatchDir) - } - - abstract class Services { -@@ -111,7 +_,20 @@ +@@ -104,7 +_,20 @@ } } @@ -90,7 +72,7 @@ configurations.named(log4jPlugins.compileClasspathConfigurationName) { extendsFrom(configurations.compileClasspath.get()) } -@@ -130,7 +_,7 @@ +@@ -123,7 +_,7 @@ // Paper end - configure mockito agent that is needed in newer java versions dependencies {