Apply shadow removal patch
Dieser Commit ist enthalten in:
Ursprung
dd6ce09922
Commit
598a1cb947
@ -5,7 +5,7 @@ Subject: [PATCH] build: replace use of shadow plugin
|
|||||||
|
|
||||||
|
|
||||||
diff --git a/build.gradle.kts b/build.gradle.kts
|
diff --git a/build.gradle.kts b/build.gradle.kts
|
||||||
index 73b3e61cbbdf5025c24d289597648f01f632a5e3..c7210eb94000eaac8be6e127a9eb9867daec303b 100644
|
index 3b9eb1fdc0685aec10b13a8e0e6b3afa4d953250..d9dc7a131d92efea9f37220227e1964e673cd024 100644
|
||||||
--- a/build.gradle.kts
|
--- a/build.gradle.kts
|
||||||
+++ b/build.gradle.kts
|
+++ b/build.gradle.kts
|
||||||
@@ -4,7 +4,6 @@ import xyz.jpenilla.runpaper.task.RunServer
|
@@ -4,7 +4,6 @@ import xyz.jpenilla.runpaper.task.RunServer
|
||||||
@ -16,12 +16,12 @@ index 73b3e61cbbdf5025c24d289597648f01f632a5e3..c7210eb94000eaac8be6e127a9eb9867
|
|||||||
id("xyz.jpenilla.run-paper") version "2.2.3" apply false
|
id("xyz.jpenilla.run-paper") version "2.2.3" apply false
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -109,14 +108,22 @@ publishing {
|
@@ -99,14 +98,22 @@ publishing {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
-tasks.shadowJar {
|
-tasks.shadowJar {
|
||||||
- configurations = listOf(project.configurations.vanillaServer.get(), alsoShade)
|
- configurations = listOf(project.configurations.vanillaServer.get(), alsoShade) // Paper
|
||||||
+tasks.serverJar {
|
+tasks.serverJar {
|
||||||
+ from(alsoShade.elements.map {
|
+ from(alsoShade.elements.map {
|
||||||
+ it.map { f ->
|
+ it.map { f ->
|
In neuem Issue referenzieren
Einen Benutzer sperren