nugget/readme.md
2020-12-10 23:03:51 -08:00

679 B

paperweight

How to use this for testing:

Install this plugin to Maven Local:

./gradlew install

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

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.