Go to file
2021-11-16 21:27:00 -08:00
.github/workflows Update upstream & paperweight to 1.2.0 2021-11-16 21:27:00 -08:00
build-data Add blank reobf-mappings-patch.tiny 2021-11-03 21:34:49 -07:00
gradle/wrapper Update upstream & paperweight to 1.2.0 2021-11-16 21:27:00 -08:00
patches/server Update upstream & paperweight to 1.2.0 2021-11-16 21:27:00 -08:00
.editorconfig its working now 2021-06-12 20:04:04 +02:00
.gitattributes its working now 2021-06-12 20:04:04 +02:00
.gitignore Initial 2021-06-12 14:09:34 +02:00
build.gradle.kts Update upstream & paperweight to 1.2.0 2021-11-16 21:27:00 -08:00
gradle.properties Update upstream & paperweight to 1.2.0 2021-11-16 21:27:00 -08:00
gradlew Update Gradle wrapper to 7.2 2021-09-24 19:04:22 -07:00
gradlew.bat Initial 2021-06-12 14:09:34 +02:00
README.md Update README 2021-08-24 21:35:00 -07:00
settings.gradle.kts Updates for paperweight 1.0.3 2021-06-16 01:28:10 -05:00

ForkTest - A Paper fork, using paperweight

This is an example project, showcasing how to setup a fork of Paper (or any other fork using paperweight), using paperweight.

The files of most interest are

  • build.gradle.kts
  • settings.gradle.kts
  • gradle.properties

Tasks

Paperweight tasks
-----------------
applyApiPatches
applyPatches
applyServerPatches
cleanCache - Delete the project setup cache and task outputs.
generateDevelopmentBundle
paperclipJar - Build a runnable paperclip jar
rebuildApiPatches
rebuildPatches
rebuildServerPatches
reobfJar - Re-obfuscate the built jar to obf mappings
runDev - Spin up a non-shaded non-remapped test server
runReobf - Spin up a test server from the reobfJar output jar
runShadow - Spin up a test server from the shadowJar archiveFile

Branches

Each branch of this project represents an example: