mirror of
https://github.com/SparklyPower/SparklyPaper.git
synced 2025-12-19 15:09:27 +00:00
Build both mojmapped JARs and reobf JARs
This commit is contained in:
15
.github/workflows/build-without-pwt.yml
vendored
15
.github/workflows/build-without-pwt.yml
vendored
@@ -32,10 +32,15 @@ jobs:
|
|||||||
run: ./gradlew -PsparklypaperImplementationVersionSuffix=without-pwt applyPatches
|
run: ./gradlew -PsparklypaperImplementationVersionSuffix=without-pwt applyPatches
|
||||||
- name: Build
|
- name: Build
|
||||||
run: ./gradlew -PsparklypaperImplementationVersionSuffix=without-pwt build
|
run: ./gradlew -PsparklypaperImplementationVersionSuffix=without-pwt build
|
||||||
- name: Create reobf Paperclip JAR
|
- name: Create Paperclip JAR
|
||||||
run: ./gradlew -PsparklypaperImplementationVersionSuffix=without-pwt createReobfPaperclipJar
|
run: ./gradlew -PsparklypaperImplementationVersionSuffix=without-pwt createMojmapPaperclipJar createReobfPaperclipJar
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
name: "Upload Paperclip JAR"
|
name: "Upload Mojang Mappings Paperclip JAR"
|
||||||
with:
|
with:
|
||||||
name: SparklyPaper (without Parallel World Ticking) Paperclip
|
name: SparklyPaper (without Parallel World Ticking) Paperclip (Mojang Mappings/mojmap)
|
||||||
path: "build/libs/SparklyPaper-paperclip-*.jar"
|
path: "build/libs/SparklyPaper-paperclip-*-mojmap.jar"
|
||||||
|
- uses: actions/upload-artifact@v2
|
||||||
|
name: "Upload Spigot Mappings (reobf) Paperclip JAR"
|
||||||
|
with:
|
||||||
|
name: SparklyPaper (without Parallel World Ticking) Paperclip (Spigot Mappings/reobf)
|
||||||
|
path: "build/libs/SparklyPaper-paperclip-*-reobf.jar"
|
||||||
|
|||||||
15
.github/workflows/build.yml
vendored
15
.github/workflows/build.yml
vendored
@@ -30,10 +30,15 @@ jobs:
|
|||||||
run: ./gradlew applyPatches
|
run: ./gradlew applyPatches
|
||||||
- name: Build
|
- name: Build
|
||||||
run: ./gradlew build
|
run: ./gradlew build
|
||||||
- name: Create reobf Paperclip JAR
|
- name: Create Paperclip JAR
|
||||||
run: ./gradlew createReobfPaperclipJar
|
run: ./gradlew createMojmapPaperclipJar createReobfPaperclipJar
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
name: "Upload Paperclip JAR"
|
name: "Upload Mojang Mappings Paperclip JAR"
|
||||||
with:
|
with:
|
||||||
name: SparklyPaper Paperclip
|
name: SparklyPaper Paperclip (Mojang Mappings/mojmap)
|
||||||
path: "build/libs/SparklyPaper-paperclip-*.jar"
|
path: "build/libs/SparklyPaper-paperclip-*-mojmap.jar"
|
||||||
|
- uses: actions/upload-artifact@v2
|
||||||
|
name: "Upload Spigot Mappings (reobf) Paperclip JAR"
|
||||||
|
with:
|
||||||
|
name: SparklyPaper Paperclip (Spigot Mappings/reobf)
|
||||||
|
path: "build/libs/SparklyPaper-paperclip-*-reobf.jar"
|
||||||
|
|||||||
@@ -108,6 +108,8 @@ If you only care about some of the patches included in SparklyPaper, it is bette
|
|||||||
|
|
||||||
There are two kinds of builds: One with the Parallel World Ticking feature, and another without it. If you don't want to risk using a very experimental feature that may lead to server crashes and corruption, or if you aren't a developer that can't fix plugin issues related to the feature, then use the version without Parallel World Ticking! (We do run Parallel World Ticking in production @ SparklyPower tho, we live on the edge :3)
|
There are two kinds of builds: One with the Parallel World Ticking feature, and another without it. If you don't want to risk using a very experimental feature that may lead to server crashes and corruption, or if you aren't a developer that can't fix plugin issues related to the feature, then use the version without Parallel World Ticking! (We do run Parallel World Ticking in production @ SparklyPower tho, we live on the edge :3)
|
||||||
|
|
||||||
|
It is recommended to use a Mojang mapped (mojmap) version unless if you *really* have a reason (example: plugins that break on a mojmap JAR) to use a Spigot mapped (reobf) version. Paper, since 1.20.5, provides a mojmapped server JAR and remaps any class/field/Reflection access made by non-mojmap aware plugins, so things (hopefully!) shouldn't break.
|
||||||
|
|
||||||
* **SparklyPaper:** https://github.com/SparklyPower/SparklyPaper/actions/workflows/build.yml
|
* **SparklyPaper:** https://github.com/SparklyPower/SparklyPaper/actions/workflows/build.yml
|
||||||
* **SparklyPaper (without Parallel World Ticking):** https://github.com/SparklyPower/SparklyPaper/actions/workflows/build-without-pwt.yml
|
* **SparklyPaper (without Parallel World Ticking):** https://github.com/SparklyPower/SparklyPaper/actions/workflows/build-without-pwt.yml
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user