Initial commit
This commit is contained in:
14
.gitignore
vendored
Normal file
14
.gitignore
vendored
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
.gradle
|
||||||
|
/build/
|
||||||
|
|
||||||
|
# Ignore Gradle GUI config
|
||||||
|
gradle-app.setting
|
||||||
|
|
||||||
|
# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
|
||||||
|
!gradle-wrapper.jar
|
||||||
|
|
||||||
|
# Cache of project
|
||||||
|
.gradletasknamecache
|
||||||
|
|
||||||
|
# # Work around https://youtrack.jetbrains.com/issue/IDEA-116898
|
||||||
|
# gradle/wrapper/gradle-wrapper.properties
|
||||||
39
README.md
39
README.md
@@ -1,37 +1,2 @@
|
|||||||
# Slice - A Paper fork, using paperweight
|
# Slice
|
||||||
|
Loka Minecraft's Paper Fork
|
||||||
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:
|
|
||||||
|
|
||||||
- [`main` is the standard example](https://github.com/PaperMC/paperweight-examples/tree/main)
|
|
||||||
- [`submodules` shows how paperweight can be applied on a fork using the more traditional git submodule system](https://github.com/PaperMC/paperweight-examples/tree/submodules)
|
|
||||||
- [`mojangapi` shows how a fork could patch arbitrary non-git directories (such as `Paper-MojangAPI`)](https://github.com/PaperMC/paperweight-examples/tree/mojangapi)
|
|
||||||
- [`submodules-mojang` shows the same as `mojangapi`, but on the git submodules setup from `submodules`](https://github.com/PaperMC/paperweight-examples/tree/submodules-mojangapi)
|
|
||||||
|
|||||||
Reference in New Issue
Block a user