More shading fixes

Dieser Commit ist enthalten in:
Kenzie Togami 2019-03-13 20:15:01 -07:00
Ursprung 4be72fb983
Commit fba12b1282
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 5D200B325E157A81
2 geänderte Dateien mit 8 neuen und 3 gelöschten Zeilen

Datei anzeigen

@ -38,9 +38,10 @@ jar {
shadowJar { shadowJar {
dependencies { dependencies {
relocate "org.slf4j", "com.sk89q.worldedit.slf4j"
include(dependency(':worldedit-core')) include(dependency(':worldedit-core'))
// Must not be relocated, for StaticLoggerBinder to work: include(dependency('org.slf4j:slf4j-api'))
include(dependency("org.slf4j:slf4j-jdk14:1.7.26")) include(dependency("org.slf4j:slf4j-jdk14"))
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"))
} }

Datei anzeigen

@ -84,8 +84,12 @@ jar {
shadowJar { shadowJar {
dependencies { dependencies {
relocate "org.slf4j", "com.sk89q.worldedit.slf4j"
relocate "org.apache.logging.slf4j", "com.sk89q.worldedit.log4jbridge"
include(dependency(':worldedit-core')) include(dependency(':worldedit-core'))
include(dependency("org.apache.logging.log4j:log4j-slf4j-impl:2.11.2")) include(dependency('org.slf4j:slf4j-api'))
include(dependency("org.apache.logging.log4j:log4j-slf4j-impl"))
} }
} }