aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0003-Build-system-changes.patch
diff options
context:
space:
mode:
authorNassim Jahnke <[email protected]>2024-04-23 21:23:27 +0200
committerNassim Jahnke <[email protected]>2024-04-23 22:13:16 +0200
commit7cdf804392762985e5c7d14821fbb8c38801b5c8 (patch)
tree5a940eaac8be96ecb6c8096cceeb243427204050 /patches/server/0003-Build-system-changes.patch
parent380c4d2313d303f2174b435a8c88a4a813b10ba4 (diff)
downloadPaper-7cdf804392762985e5c7d14821fbb8c38801b5c8.tar.gz
Paper-7cdf804392762985e5c7d14821fbb8c38801b5c8.zip
Work
Diffstat (limited to 'patches/server/0003-Build-system-changes.patch')
-rw-r--r--patches/server/0003-Build-system-changes.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/patches/server/0003-Build-system-changes.patch b/patches/server/0003-Build-system-changes.patch
index 51692ff801..3df6b48aec 100644
--- a/patches/server/0003-Build-system-changes.patch
+++ b/patches/server/0003-Build-system-changes.patch
@@ -9,7 +9,7 @@ public net.minecraft.server.packs.VanillaPackResourcesBuilder safeGetPath(Ljava/
Co-authored-by: Jake Potrebic <[email protected]>
diff --git a/build.gradle.kts b/build.gradle.kts
-index 8116ef8a1d098f0fe4fab661f913132ce3ec4ae9..2905c7273ed4d62a7f1bc7eab9ae919ee6c012de 100644
+index 4ceb1ff4349ce60b418a2cb1140f2612139ccb5d..6dc799cc5cad69e37988b175e9768fa696ad7814 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -9,9 +9,7 @@ plugins {
@@ -41,8 +41,8 @@ index 8116ef8a1d098f0fe4fab661f913132ce3ec4ae9..2905c7273ed4d62a7f1bc7eab9ae919e
)
for (tld in setOf("net", "com", "org")) {
attributes("$tld/bukkit", "Sealed" to true)
-@@ -77,6 +79,17 @@ tasks.shadowJar {
- }
+@@ -60,6 +62,17 @@ tasks.shadowJar {
+ configurations = listOf(project.configurations.vanillaServer.get())
}
+// Paper start
@@ -59,7 +59,7 @@ index 8116ef8a1d098f0fe4fab661f913132ce3ec4ae9..2905c7273ed4d62a7f1bc7eab9ae919e
tasks.test {
exclude("org/bukkit/craftbukkit/inventory/ItemStack*Test.class")
useJUnitPlatform()
-@@ -138,4 +151,5 @@ tasks.registerRunTask("runReobf") {
+@@ -121,4 +134,5 @@ tasks.registerRunTask("runReobf") {
tasks.registerRunTask("runDev") {
description = "Spin up a non-relocated Mojang-mapped test server"
classpath(sourceSets.main.map { it.runtimeClasspath })