Shade logger bridges as well

This commit is contained in:
Kenzie Togami 2019-03-13 19:56:58 -07:00
parent d6804737cf
commit 4be72fb983
No known key found for this signature in database
GPG Key ID: 5D200B325E157A81
2 changed files with 3 additions and 0 deletions

View File

@ -39,6 +39,8 @@ jar {
shadowJar { shadowJar {
dependencies { dependencies {
include(dependency(':worldedit-core')) include(dependency(':worldedit-core'))
// Must not be relocated, for StaticLoggerBinder to work:
include(dependency("org.slf4j:slf4j-jdk14:1.7.26"))
relocate ("org.bstats", "com.sk89q.worldedit.bukkit.bstats") { relocate ("org.bstats", "com.sk89q.worldedit.bukkit.bstats") {
include(dependency("org.bstats:bstats-bukkit:1.4")) include(dependency("org.bstats:bstats-bukkit:1.4"))
} }

View File

@ -85,6 +85,7 @@ jar {
shadowJar { shadowJar {
dependencies { dependencies {
include(dependency(':worldedit-core')) include(dependency(':worldedit-core'))
include(dependency("org.apache.logging.log4j:log4j-slf4j-impl:2.11.2"))
} }
} }