mirror of
https://github.com/Winds-Studio/Leaf.git
synced 2025-12-19 15:09:25 +00:00
Init 1.21.5 setup
This commit is contained in:
@@ -3,7 +3,7 @@ import org.gradle.api.tasks.testing.logging.TestLogEvent
|
||||
|
||||
plugins {
|
||||
`maven-publish`
|
||||
id("io.papermc.paperweight.patcher") version "2.0.0-beta.14"
|
||||
id("io.papermc.paperweight.patcher") version "2.0.0-beta.16"
|
||||
}
|
||||
|
||||
val paperMavenPublicUrl = "https://repo.papermc.io/repository/maven-public/"
|
||||
@@ -64,30 +64,25 @@ subprojects {
|
||||
}
|
||||
|
||||
paperweight {
|
||||
upstreams.register("gale") {
|
||||
repo = github("Dreeam-qwq", "Gale")
|
||||
ref = providers.gradleProperty("galeCommit")
|
||||
upstreams.register("paper") {
|
||||
repo = github("Dreeam-qwq", "Paper")
|
||||
ref = providers.gradleProperty("paperCommit")
|
||||
|
||||
patchFile {
|
||||
path = "gale-server/build.gradle.kts"
|
||||
path = "paper-server/build.gradle.kts"
|
||||
outputFile = file("leaf-server/build.gradle.kts")
|
||||
patchFile = file("leaf-server/build.gradle.kts.patch")
|
||||
}
|
||||
patchFile {
|
||||
path = "gale-api/build.gradle.kts"
|
||||
path = "paper-api/build.gradle.kts"
|
||||
outputFile = file("leaf-api/build.gradle.kts")
|
||||
patchFile = file("leaf-api/build.gradle.kts.patch")
|
||||
}
|
||||
patchRepo("paperApi") {
|
||||
patchDir("paperApi") {
|
||||
upstreamPath = "paper-api"
|
||||
excludes = setOf("build.gradle.kts")
|
||||
patchesDir = file("leaf-api/paper-patches")
|
||||
outputDir = file("paper-api")
|
||||
}
|
||||
patchDir("galeApi") {
|
||||
upstreamPath = "gale-api"
|
||||
excludes = listOf("build.gradle.kts", "build.gradle.kts.patch", "paper-patches")
|
||||
patchesDir = file("leaf-api/gale-patches")
|
||||
outputDir = file("gale-api")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user