9
0
mirror of https://github.com/LeavesMC/Leaves.git synced 2025-12-19 14:59:32 +00:00
Paper???
This commit is contained in:
violetc
2024-01-19 11:37:53 +08:00
parent bb617373a6
commit c8359e5b32
3 changed files with 9 additions and 1 deletions

1
.gitignore vendored
View File

@@ -46,6 +46,7 @@ out/
# other stuff # other stuff
leaves-server leaves-server
leaves-api leaves-api
paper-api-generator
mc-dev mc-dev
.idea .idea
testserver testserver

View File

@@ -68,6 +68,13 @@ paperweight {
serverPatchDir.set(layout.projectDirectory.dir("patches/server")) serverPatchDir.set(layout.projectDirectory.dir("patches/server"))
serverOutputDir.set(layout.projectDirectory.dir("leaves-server")) serverOutputDir.set(layout.projectDirectory.dir("leaves-server"))
} }
patchTasks.register("generatedApi") {
isBareDirectory = true
upstreamDirPath = "paper-api-generator/generated"
patchDir = layout.projectDirectory.dir("patches/generated-api")
outputDir = layout.projectDirectory.dir("paper-api-generator/generated")
}
} }
} }

View File

@@ -7,4 +7,4 @@ pluginManagement {
rootProject.name = "Leaves" rootProject.name = "Leaves"
include("leaves-api", "leaves-server") include("leaves-api", "leaves-server", "paper-api-generator")