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

2
.gitignore vendored
View File

@ -53,3 +53,5 @@ Scissors-API
aswm-api/src
aswm-core/src
paper-api-generator

View File

@ -66,6 +66,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"))
}
}
}
}
}