[BUG] Fix paper jar not working on 1.21.4
This commit is contained in:
BIN
1.18.2/NeoForge/src/main/resources/craterlib_logo.png
Normal file
BIN
1.18.2/NeoForge/src/main/resources/craterlib_logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 48 KiB |
BIN
1.19.2/NeoForge/src/main/resources/craterlib_logo.png
Normal file
BIN
1.19.2/NeoForge/src/main/resources/craterlib_logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 48 KiB |
BIN
1.19.3/NeoForge/src/main/resources/craterlib_logo.png
Normal file
BIN
1.19.3/NeoForge/src/main/resources/craterlib_logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 48 KiB |
BIN
1.20.2/NeoForge/src/main/resources/craterlib_logo.png
Normal file
BIN
1.20.2/NeoForge/src/main/resources/craterlib_logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 48 KiB |
BIN
1.20/NeoForge/src/main/resources/craterlib_logo.png
Normal file
BIN
1.20/NeoForge/src/main/resources/craterlib_logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 48 KiB |
@@ -1,3 +1,5 @@
|
|||||||
|
import io.papermc.paperweight.userdev.ReobfArtifactConfiguration
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id "io.papermc.paperweight.userdev" version "1.7.3"
|
id "io.papermc.paperweight.userdev" version "1.7.3"
|
||||||
id "xyz.jpenilla.run-paper" version "2.3.0"
|
id "xyz.jpenilla.run-paper" version "2.3.0"
|
||||||
@@ -10,6 +12,8 @@ origami {
|
|||||||
excludedResources = ["pack.mcmeta", "craterlib.mixins.json"]
|
excludedResources = ["pack.mcmeta", "craterlib.mixins.json"]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
paperweight.reobfArtifactConfiguration = ReobfArtifactConfiguration.getMOJANG_PRODUCTION()
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
paperweight.paperDevBundle("${minecraft_version}-R0.1-SNAPSHOT")
|
paperweight.paperDevBundle("${minecraft_version}-R0.1-SNAPSHOT")
|
||||||
|
|
||||||
@@ -55,10 +59,6 @@ processResources {
|
|||||||
|
|
||||||
compileTestJava.enabled = false
|
compileTestJava.enabled = false
|
||||||
|
|
||||||
tasks.assemble {
|
|
||||||
dependsOn(tasks.reobfJar)
|
|
||||||
}
|
|
||||||
|
|
||||||
publisher {
|
publisher {
|
||||||
apiKeys {
|
apiKeys {
|
||||||
nightbloom(System.getenv("PLATFORM_KEY"))
|
nightbloom(System.getenv("PLATFORM_KEY"))
|
||||||
@@ -71,8 +71,9 @@ publisher {
|
|||||||
setDisplayName("[Paper 1.21.3] CraterLib - ${project.version}")
|
setDisplayName("[Paper 1.21.3] CraterLib - ${project.version}")
|
||||||
setGameVersions("1.21.3")
|
setGameVersions("1.21.3")
|
||||||
setLoaders("paper")
|
setLoaders("paper")
|
||||||
setArtifact(reobfJar.outputJar)
|
setArtifact(shadowJar)
|
||||||
}
|
}
|
||||||
|
|
||||||
publishModrinth.dependsOn(reobfJar)
|
publishModrinth.dependsOn(shadowJar)
|
||||||
publishNightbloom.dependsOn(reobfJar)
|
publishNightbloom.dependsOn(shadowJar)
|
||||||
|
build.dependsOn(shadowJar)
|
41
patches/1.21.2/Paper/build.gradle.patch
Normal file
41
patches/1.21.2/Paper/build.gradle.patch
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
--- a/Paper/build.gradle
|
||||||
|
+++ b/Paper/build.gradle
|
||||||
|
@@ -1,3 +1,5 @@
|
||||||
|
+import io.papermc.paperweight.userdev.ReobfArtifactConfiguration
|
||||||
|
+
|
||||||
|
plugins {
|
||||||
|
id "io.papermc.paperweight.userdev" version "1.7.3"
|
||||||
|
id "xyz.jpenilla.run-paper" version "2.3.0"
|
||||||
|
@@ -10,6 +12,8 @@
|
||||||
|
excludedResources = ["pack.mcmeta", "craterlib.mixins.json"]
|
||||||
|
}
|
||||||
|
|
||||||
|
+paperweight.reobfArtifactConfiguration = ReobfArtifactConfiguration.getMOJANG_PRODUCTION()
|
||||||
|
+
|
||||||
|
dependencies {
|
||||||
|
paperweight.paperDevBundle("${minecraft_version}-R0.1-SNAPSHOT")
|
||||||
|
|
||||||
|
@@ -55,10 +59,6 @@
|
||||||
|
|
||||||
|
compileTestJava.enabled = false
|
||||||
|
|
||||||
|
-tasks.assemble {
|
||||||
|
- dependsOn(tasks.reobfJar)
|
||||||
|
-}
|
||||||
|
-
|
||||||
|
publisher {
|
||||||
|
apiKeys {
|
||||||
|
nightbloom(System.getenv("PLATFORM_KEY"))
|
||||||
|
@@ -71,8 +71,9 @@
|
||||||
|
setDisplayName("[Paper 1.21.3] CraterLib - ${project.version}")
|
||||||
|
setGameVersions("1.21.3")
|
||||||
|
setLoaders("paper")
|
||||||
|
- setArtifact(reobfJar.outputJar)
|
||||||
|
+ setArtifact(shadowJar)
|
||||||
|
}
|
||||||
|
|
||||||
|
-publishModrinth.dependsOn(reobfJar)
|
||||||
|
-publishNightbloom.dependsOn(reobfJar)
|
||||||
|
+publishModrinth.dependsOn(shadowJar)
|
||||||
|
+publishNightbloom.dependsOn(shadowJar)
|
||||||
|
+build.dependsOn(shadowJar)
|
Reference in New Issue
Block a user