mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-15 22:21:01 +01:00
Thanks for joining us for the magic show tonight
This commit is contained in:
parent
5e9ba09e6d
commit
c867b69e41
2 changed files with 6 additions and 3 deletions
|
@ -59,6 +59,9 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||
+ rename { "pom.xml" }
|
||||
+ }
|
||||
+
|
||||
relocate("org.bukkit.craftbukkit", "org.bukkit.craftbukkit.v$packageVersion") {
|
||||
exclude("org.bukkit.craftbukkit.Main*")
|
||||
}
|
||||
listOf(
|
||||
- "jline", "it.unimi", "org.apache.commons.codec", "org.apache.commons.io",
|
||||
+ "jline", "org.apache.commons.codec", "org.apache.commons.io", // Paper - don't relocate fastutil
|
||||
|
|
|
@ -101,6 +101,9 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||
+tasks.shadowJar {
|
||||
+ archiveClassifier.set("mojang-mapped")
|
||||
+
|
||||
+ relocate("org.bukkit.craftbukkit", "org.bukkit.craftbukkit.v$packageVersion") {
|
||||
+ exclude("org.bukkit.craftbukkit.Main*")
|
||||
+ }
|
||||
+ listOf(
|
||||
+ "jline", "it.unimi", "org.apache.commons.codec", "org.apache.commons.io",
|
||||
+ "org.apache.commons.lang3", "org.apache.http", "org.apache.maven", "org.codehaus.plexus",
|
||||
|
@ -108,9 +111,6 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||
+ ).forEach { pack ->
|
||||
+ relocate(pack, "org.bukkit.craftbukkit.libs.$pack")
|
||||
+ }
|
||||
+ relocate("org.bukkit.craftbukkit", "org.bukkit.craftbukkit.v$packageVersion") {
|
||||
+ exclude("org.bukkit.craftbukkit.Main*")
|
||||
+ }
|
||||
+ mergeServiceFiles()
|
||||
+ transform(ModifiedLog4j2PluginsCacheFileTransformer::class.java)
|
||||
+}
|
||||
|
|
Loading…
Reference in a new issue