From 8fdd15f357a6dfbe0d08f30f7afc4b047df39f78 Mon Sep 17 00:00:00 2001 From: Kenzie Togami Date: Sun, 1 Sep 2019 20:11:34 -0700 Subject: [PATCH] [CLI,Libs] Minimize CLI, exclude slf4j from libs --- buildSrc/src/main/kotlin/LibsConfig.kt | 1 + worldedit-cli/build.gradle.kts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/buildSrc/src/main/kotlin/LibsConfig.kt b/buildSrc/src/main/kotlin/LibsConfig.kt index c2754d487..558d68ae4 100644 --- a/buildSrc/src/main/kotlin/LibsConfig.kt +++ b/buildSrc/src/main/kotlin/LibsConfig.kt @@ -33,6 +33,7 @@ fun Project.applyLibrariesConfiguration() { exclude(dependency("com.google.guava:guava")) exclude(dependency("com.google.code.gson:gson")) exclude(dependency("org.checkerframework:checker-qual")) + exclude(dependency("org.slf4j:slf4j-api")) } relocate("net.kyori.text", "com.sk89q.worldedit.util.formatting.text") diff --git a/worldedit-cli/build.gradle.kts b/worldedit-cli/build.gradle.kts index ea047b641..ab563127c 100644 --- a/worldedit-cli/build.gradle.kts +++ b/worldedit-cli/build.gradle.kts @@ -24,7 +24,7 @@ tasks.named("shadowJar") { include { true } } minimize { - exclude { true } + exclude(dependency("org.apache.logging.log4j:log4j-core")) } }