mirror of
https://github.com/AtlasMediaGroup/Scissors.git
synced 2025-01-04 21:37: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")
|
outputFile = file("fork-api/build.gradle.kts")
|
||||||
patchFile = file("fork-api/build.gradle.kts.patch")
|
patchFile = file("fork-api/build.gradle.kts.patch")
|
||||||
}
|
}
|
||||||
patchDir {
|
patchDir("paperApi") {
|
||||||
name = "paperApi"
|
|
||||||
upstreamPath = "paper-api"
|
upstreamPath = "paper-api"
|
||||||
excludes = setOf("build.gradle.kts")
|
excludes = setOf("build.gradle.kts")
|
||||||
patchesDir = file("fork-api/paper-patches")
|
patchesDir = file("fork-api/paper-patches")
|
||||||
outputDir = file("paper-api")
|
outputDir = file("paper-api")
|
||||||
}
|
}
|
||||||
patchDir {
|
patchDir("paperApiGenerator") {
|
||||||
name = "paperApiGenerator"
|
|
||||||
upstreamPath = "paper-api-generator"
|
upstreamPath = "paper-api-generator"
|
||||||
patchesDir = file("fork-api-generator/paper-patches")
|
patchesDir = file("fork-api-generator/paper-patches")
|
||||||
outputDir = file("paper-api-generator")
|
outputDir = file("paper-api-generator")
|
||||||
|
@ -7,13 +7,12 @@
|
|||||||
import io.papermc.paperweight.util.*
|
import io.papermc.paperweight.util.*
|
||||||
import java.time.Instant
|
import java.time.Instant
|
||||||
|
|
||||||
@@ -22,25 +_,38 @@
|
@@ -22,25 +_,37 @@
|
||||||
// macheOldPath = file("F:\\Projects\\PaperTooling\\mache\\versions\\1.21.4\\src\\main\\java")
|
// macheOldPath = file("F:\\Projects\\PaperTooling\\mache\\versions\\1.21.4\\src\\main\\java")
|
||||||
// gitFilePatches = true
|
// gitFilePatches = true
|
||||||
|
|
||||||
+ val fork = forks.register("fork") {
|
+ val fork = forks.register("fork") {
|
||||||
+ upstream.patchDir {
|
+ upstream.patchDir("paperServer") {
|
||||||
+ name = "paperServer"
|
|
||||||
+ upstreamPath = "paper-server"
|
+ upstreamPath = "paper-server"
|
||||||
+ excludes = setOf("src/vanilla", "patches", "build.gradle.kts")
|
+ excludes = setOf("src/vanilla", "patches", "build.gradle.kts")
|
||||||
+ patchesDir = rootDirectory.dir("fork-server/paper-patches")
|
+ patchesDir = rootDirectory.dir("fork-server/paper-patches")
|
||||||
|
Loading…
Reference in New Issue
Block a user