fix shadow jar

This commit is contained in:
Jesse Boyd 2019-08-18 02:54:27 +01:00
parent 3b7b115bb6
commit 47e2226be5
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

@ -47,9 +47,20 @@ dependencies {
} }
shadowJar { shadowJar {
relocate("it.unimi.dsi.fastutil", "com.sk89q.worldedit.bukkit.fastutil") { dependencies {
include("it.unimi.dsi:fastutil") relocate "org.slf4j", "com.sk89q.worldedit.slf4j"
relocate "org.apache.logging.slf4j", "com.sk89q.worldedit.log4jbridge"
include(dependency(':worldedit-core'))
include(dependency(':worldedit-libs:core'))
include(dependency(':worldedit-libs:bukkit'))
include(dependency('org.slf4j:slf4j-api'))
include(dependency("org.apache.logging.log4j:log4j-slf4j-impl"))
relocate("it.unimi.dsi.fastutil", "com.sk89q.worldedit.bukkit.fastutil") {
include("it.unimi.dsi:fastutil")
}
} }
archiveName = "${parent.name}-${project.name.replaceAll("worldedit-", "")}-${parent.version}.jar"
destinationDir = file '../target'
} }
processResources { processResources {