update for paperweight changes

This commit is contained in:
Jason Penilla 2024-12-15 13:01:18 -07:00
parent 0d49617843
commit 3850c8fe78
No known key found for this signature in database
GPG Key ID: 0E75A301420E48F8
2 changed files with 4 additions and 7 deletions

View File

@ -20,15 +20,13 @@ paperweight {
outputFile = file("fork-api/build.gradle.kts")
patchFile = file("fork-api/build.gradle.kts.patch")
}
patchDir {
name = "paperApi"
patchDir("paperApi") {
upstreamPath = "paper-api"
excludes = setOf("build.gradle.kts")
patchesDir = file("fork-api/paper-patches")
outputDir = file("paper-api")
}
patchDir {
name = "paperApiGenerator"
patchDir("paperApiGenerator") {
upstreamPath = "paper-api-generator"
patchesDir = file("fork-api-generator/paper-patches")
outputDir = file("paper-api-generator")

View File

@ -7,13 +7,12 @@
import io.papermc.paperweight.util.*
import java.time.Instant
@@ -22,25 +_,38 @@
@@ -22,25 +_,37 @@
// macheOldPath = file("F:\\Projects\\PaperTooling\\mache\\versions\\1.21.4\\src\\main\\java")
// gitFilePatches = true
+ val fork = forks.register("fork") {
+ upstream.patchDir {
+ name = "paperServer"
+ upstream.patchDir("paperServer") {
+ upstreamPath = "paper-server"
+ excludes = setOf("src/vanilla", "patches", "build.gradle.kts")
+ patchesDir = rootDirectory.dir("fork-server/paper-patches")