Use mergeServiceFiles() instead of AppendingTransformer

This commit is contained in:
Jason Penilla 2021-06-12 19:23:21 -07:00
parent ec859f1f2f
commit 744ca73135

View file

@ -96,9 +96,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ relocate("org.bukkit.craftbukkit", "org.bukkit.craftbukkit.v$packageVersion") {
+ exclude("org.bukkit.craftbukkit.Main*")
+ }
+ transform(AppendingTransformer::class.java) {
+ resource = "META-INF/services/java.sql.Driver"
+ }
+ mergeServiceFiles()
+ transform(ModifiedLog4j2PluginsCacheFileTransformer::class.java)
+}
+