Fix build issues

This commit is contained in:
Telesphoreo 2023-12-10 13:18:16 -06:00
parent 3271c24791
commit 30341c1148
2 changed files with 12 additions and 1 deletions

4
.gitignore vendored
View File

@ -52,4 +52,6 @@ Scissors-API
!gradle/wrapper/gradle-wrapper.jar !gradle/wrapper/gradle-wrapper.jar
aswm-api/src aswm-api/src
aswm-core/src aswm-core/src
paper-api-generator

View File

@ -66,6 +66,15 @@ paperweight {
serverPatchDir.set(layout.projectDirectory.dir("patches/server")) serverPatchDir.set(layout.projectDirectory.dir("patches/server"))
serverOutputDir.set(layout.projectDirectory.dir("Scissors-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"))
}
}
} }
} }
} }