No description
gradle/wrapper | ||
license | ||
src/main | ||
.gitattributes | ||
.gitignore | ||
build.gradle.kts | ||
gradlew | ||
gradlew.bat | ||
readme.md | ||
settings.gradle.kts |
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.