Fix log4j

This commit is contained in:
Mariell Hoversholm 2020-10-08 14:29:24 +02:00 committed by Alexander Söderberg
parent cd605f4996
commit 2eee1ef203
1 changed files with 3 additions and 0 deletions

View File

@ -85,6 +85,7 @@ tasks.named<ShadowJar>("shadowJar") {
relocate("com.sk89q.squirrelid", "com.plotsquared.squirrelid")
relocate("org.khelekore.prtree", "com.plotsquared.prtree")
relocate("org.apache.logging.log4j", "com.plotsquared.logging.apache.log4j")
relocate("org.apache.logging.slf4j", "com.plotsquared.logging.apache.slf4j")
relocate("org.slf4j", "com.plotsquared.logging.slf4j")
relocate("com.google.inject", "com.plotsquared.google")
relocate("javax.inject", "com.plotsquared.core.inject.javax")
@ -93,4 +94,6 @@ tasks.named<ShadowJar>("shadowJar") {
// Get rid of all the libs which are 100% unused.
minimize()
mergeServiceFiles()
}