From 2eee1ef2031646edc2d8f4203d75c5abe7a2a709 Mon Sep 17 00:00:00 2001 From: Mariell Hoversholm Date: Thu, 8 Oct 2020 14:29:24 +0200 Subject: [PATCH] Fix log4j --- Bukkit/build.gradle.kts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Bukkit/build.gradle.kts b/Bukkit/build.gradle.kts index abf486cf5..59ccb1f70 100644 --- a/Bukkit/build.gradle.kts +++ b/Bukkit/build.gradle.kts @@ -85,6 +85,7 @@ tasks.named("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") { // Get rid of all the libs which are 100% unused. minimize() + + mergeServiceFiles() }