diff --git a/build.gradle.kts b/build.gradle.kts index c620af52f..8ec7e7496 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -71,4 +71,19 @@ paperweight { serverOutputDir.set(layout.projectDirectory.dir("Purpur-Server")) } } + + useStandardUpstream("tuinity") { + url.set(github("pl3xgaming", "Tuinity")) + ref.set(providers.gradleProperty("tuinityCommit")) + + withStandardPatcher { + baseName("Tuinity") + + apiPatchDir.set(layout.projectDirectory.dir("patches/api")) + apiOutputDir.set(layout.projectDirectory.dir("Purpur-API")) + + serverPatchDir.set(layout.projectDirectory.dir("patches/server")) + serverOutputDir.set(layout.projectDirectory.dir("Purpur-Server")) + } + } } diff --git a/gradle.properties b/gradle.properties index bd626924d..f759badd3 100644 --- a/gradle.properties +++ b/gradle.properties @@ -5,6 +5,7 @@ mcVersion=1.17 packageVersion=1_17_R1 paperCommit=9e07703fb7ca6a6c1d558fb4773f2cd1fbb3c438 +tuinityCommit=1ff46415479b2030076889f5b09f0801fbe34afa org.gradle.parallel=true org.gradle.vfs.watch=false