paperweight
paperweight copied to clipboard
Gradle build system plugin for Paper and Paper forks
In general dead code in the jar is a non-issue, but it creates a slightly annoying issue here
Glob imports are only supported for minecraft-related files atm
Allows parsing it at runtime without a JSON library
Issue came around when updating from JDK17 to JDK21, the decompilation would fail with cryptic error messages unless the paperweight userdev cache was deleted
``` > Task :paper:patchCraftBukkit FAILED > Task :getPaperUpstreamData FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':paper:patchCraftBukkit'. > io.papermc.paperweight.PaperweightException: Command finished with 128...
Code generation does not work in forks because `extractFromBundler` task is not present / registered
As a fork maintainer I want to use code generation myself to provide API which keys are based on generation from nms classes. Due to the change here https://github.com/PaperMC/paperweight/commit/c6d776d6f4e2f616f790281d2ef735d5030cab6e#diff-db7b98835ceaf75182242f6aca97b05be8942d5dc4ab0606892ddc3d89f9e684R45 the...