api patches \o/

This commit is contained in:
granny
2025-05-28 19:53:01 -07:00
parent 2c139d3b7a
commit 95952b3056
45 changed files with 12 additions and 10 deletions

View File

@@ -1,8 +1,8 @@
group = org.purpurmc.purpur group = org.purpurmc.purpur
version = 1.21.5-R0.1-SNAPSHOT version = 1.21.6-R0.1-SNAPSHOT
mcVersion = 1.21.5 mcVersion = 1.21.6-pre1
paperCommit = 47650100837178e2852bdb50d8c9c6f0cc0bb2e0 paperCommit = 0795cbed2563d0ba693a8eec8754cffa62b52756
org.gradle.configuration-cache = true org.gradle.configuration-cache = true
org.gradle.caching = true org.gradle.caching = true

View File

@@ -11,7 +11,7 @@
plugins { plugins {
`java-library` `java-library`
@@ -20,6 +_,46 @@ @@ -20,13 +_,65 @@
testRuntimeOnly("org.junit.platform:junit-platform-launcher") testRuntimeOnly("org.junit.platform:junit-platform-launcher")
} }
@@ -58,10 +58,13 @@
paperweight { paperweight {
minecraftVersion = providers.gradleProperty("mcVersion") minecraftVersion = providers.gradleProperty("mcVersion")
gitFilePatches = false gitFilePatches = false
@@ -28,6 +_,18 @@
// oldPaperCommit = "f4f275519f7c1fbe9db173b7144a4fe81440e365"
//}
- updatingMinecraft {
- oldPaperCommit = "a033e3b9ef78cfe85be807ac3fd1dd956274d4db"
+ //updatingMinecraft {
+ // oldPaperCommit = "a033e3b9ef78cfe85be807ac3fd1dd956274d4db"
+ //}
+
+ // Purpur start - Rebrand + // Purpur start - Rebrand
+ val purpur = forks.register("purpur") { + val purpur = forks.register("purpur") {
+ upstream.patchDir("paperServer") { + upstream.patchDir("paperServer") {
@@ -70,13 +73,12 @@
+ patchesDir = rootDirectory.dir("purpur-server/paper-patches") + patchesDir = rootDirectory.dir("purpur-server/paper-patches")
+ outputDir = rootDirectory.dir("paper-server") + outputDir = rootDirectory.dir("paper-server")
+ } + }
+ } }
+ activeFork = purpur + activeFork = purpur
+ // Purpur end - Rebrand + // Purpur end - Rebrand
+
spigot { spigot {
buildDataRef = "702e1a0a5072b2c4082371d5228cb30525687efc" buildDataRef = "702e1a0a5072b2c4082371d5228cb30525687efc"
packageVersion = "v1_21_R4" // also needs to be updated in MappingEnvironment
@@ -108,7 +_,21 @@ @@ -108,7 +_,21 @@
} }
} }