mirror of
https://github.com/PaperMC/Folia.git
synced 2024-11-23 12:15:17 +01:00
Generated API
Fixes build
This commit is contained in:
parent
be90fb8d36
commit
4d78338afe
1
.gitignore
vendored
1
.gitignore
vendored
@ -48,5 +48,6 @@ run/
|
|||||||
|
|
||||||
Folia-Server
|
Folia-Server
|
||||||
Folia-API
|
Folia-API
|
||||||
|
paper-api-generator
|
||||||
|
|
||||||
!gradle/wrapper/gradle-wrapper.jar
|
!gradle/wrapper/gradle-wrapper.jar
|
||||||
|
@ -65,6 +65,12 @@ paperweight {
|
|||||||
serverPatchDir.set(layout.projectDirectory.dir("patches/server"))
|
serverPatchDir.set(layout.projectDirectory.dir("patches/server"))
|
||||||
serverOutputDir.set(layout.projectDirectory.dir("Folia-Server"))
|
serverOutputDir.set(layout.projectDirectory.dir("Folia-Server"))
|
||||||
}
|
}
|
||||||
|
patchTasks.register("generatedApi") {
|
||||||
|
isBareDirectory = true
|
||||||
|
upstreamDirPath = "paper-api-generator/generated"
|
||||||
|
patchDir = layout.projectDirectory.dir("patches/generatedApi")
|
||||||
|
outputDir = layout.projectDirectory.dir("paper-api-generator/generated")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user