- Update upstream ref in gradle.properties
- Delete
paper-server,paper-api-generatorandpaper-apidirectories 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
...fuzzytasks to try harder. - If this fails to, update the failing patches manually. The rejected hunks will be in a
.rejfile. - Run the correct
fixupandrebuildtasks 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
applyAllPatchesagain 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.
