Skip to content
This repository has been archived by the owner on Jun 26, 2021. It is now read-only.
/ patcher Public archive

corrosive - Build system for forks of multiple Paper forks

License

Notifications You must be signed in to change notification settings

PatinaMC/patcher

Repository files navigation

corrosive

How to use this for testing:

Install this plugin to Maven Local:

./gradlew publishToMavenLocal

Clone a new Paper repo and checkout the feature/mojmap branch.

  • Add mavenLocal() to the list of repos in settings.gradle.kts.
  • Change paperweight version to 1.0.0-LOCAL-SNAPSHOT in the plugins {} block in build.gradle.kts.

Run the task (on the Paper repo) to set up the development environment:

./gradlew patchPaper

All task outputs paperweight creates goes into <project-root>/.gradle/caches.

Debugging

Create a remote JVM debug run configuration in IntelliJ which connects to port 5005, then run Gradle in debug mode:

./gradlew --no-daemon -Dorg.gradle.debug=true <task>

Gradle will not start until the debugger is connected so you don't need to worry about missing a breakpoint.

About

corrosive - Build system for forks of multiple Paper forks

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published