From 99d5a083bd64447d56400125f5daadec55423361 Mon Sep 17 00:00:00 2001 From: William Blake Galbreath Date: Thu, 24 Jun 2021 17:38:01 -0500 Subject: [PATCH] This might help... :eyes: --- build.gradle.kts | 15 +++++++++++++++ gradle.properties | 1 + 2 files changed, 16 insertions(+) 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