mirror of
https://github.com/AtlasMediaGroup/Scissors.git
synced 2025-01-02 20:47:37 +00:00
update for paperweight changes
This commit is contained in:
parent
0d49617843
commit
3850c8fe78
@ -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")
|
||||
|
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user