From 0e240d3c003b4d15af450a0342e51838b7409286 Mon Sep 17 00:00:00 2001 From: Telesphoreo Date: Sun, 10 Dec 2023 13:12:58 -0600 Subject: [PATCH] Fix builds not working --- build.gradle.kts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/build.gradle.kts b/build.gradle.kts index b15e0d6..205e5b6 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -65,6 +65,15 @@ paperweight { serverPatchDir.set(layout.projectDirectory.dir("patches/server")) serverOutputDir.set(layout.projectDirectory.dir("Scissors-Server")) + + patchTasks { + register("generatedApi") { + isBareDirectory.set(true) + upstreamDirPath.set("paper-api-generator/generated") + patchDir.set(layout.projectDirectory.dir("patches/generatedApi")) + outputDir.set(layout.projectDirectory.dir("paper-api-generator/generated")) + } + } } } }