- Update upstream ref in gradle.properties
- Delete
paper-server
,paper-api-generator
andpaper-api
directories as well as.gradle
(in the main project and papyrus submodules) to always do a clean build. - Run
gradlew applyAllPatches
- If this fails, run the
...fuzzy
tasks to try harder. - If this fails to, update the failing patches manually. The rejected hunks will be in a
.rej
file. - Run the correct
fixup
andrebuild
tasks afterwards, e.g. the server one if it was a server patch. - For build file changes, use the singleFilePatches tasks. There is no fixup task for them.
- Run
applyAllPatches
again when done.
- If this fails, run the
- If all patches apply, try publishing a dev bundle to see if everything compiles. Ignore the Javadoc warnings.