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
version = 1.21.5-R0.1-SNAPSHOT
version = 1.21.6-R0.1-SNAPSHOT
mcVersion = 1.21.5
paperCommit = 47650100837178e2852bdb50d8c9c6f0cc0bb2e0
mcVersion = 1.21.6-pre1
paperCommit = 0795cbed2563d0ba693a8eec8754cffa62b52756
org.gradle.configuration-cache = true
org.gradle.caching = true

View File

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