Relocate serverlib properly

This commit is contained in:
NotMyFault 2021-02-01 15:23:47 +01:00
parent a13e43fecd
commit 09ba78d1e9
No known key found for this signature in database
GPG Key ID: 158F5701A6AAD00C

View File

@ -149,17 +149,19 @@ tasks.named<ShadowJar>("shadowJar") {
include(dependency("org.slf4j:slf4j-api")) include(dependency("org.slf4j:slf4j-api"))
include(dependency("org.apache.logging.log4j:log4j-slf4j-impl")) include(dependency("org.apache.logging.log4j:log4j-slf4j-impl"))
include(dependency("org.antlr:antlr4-runtime")) include(dependency("org.antlr:antlr4-runtime"))
include(dependency("de.notmyfault:serverlib")) relocate("de.notmyfault", "com.boydti.fawe") {
include(dependency("de.notmyfault:serverlib:1.0.1"))
}
relocate("io.papermc.lib", "com.sk89q.worldedit.bukkit.paperlib") { relocate("io.papermc.lib", "com.sk89q.worldedit.bukkit.paperlib") {
include(dependency("io.papermc:paperlib:1.0.6")) include(dependency("io.papermc:paperlib:1.0.6"))
} }
relocate("it.unimi.dsi.fastutil", "com.sk89q.worldedit.bukkit.fastutil") { relocate("it.unimi.dsi.fastutil", "com.sk89q.worldedit.bukkit.fastutil") {
include(dependency("it.unimi.dsi:fastutil")) include(dependency("it.unimi.dsi:fastutil"))
} }
relocate("org.bstats", "com.boydti.metrics") { relocate("org.bstats", "com.boydti.fawe.metrics") {
include(dependency("org.bstats:bstats-bukkit:2.1.0")) include(dependency("org.bstats:bstats-bukkit:2.1.0"))
} }
relocate("org.bstats", "com.boydti.metrics") { relocate("org.bstats", "com.boydti.fawe.metrics") {
include(dependency("org.bstats:bstats-base:2.1.0")) include(dependency("org.bstats:bstats-base:2.1.0"))
} }
relocate("com.intellectualsites.paster", "com.boydti.fawe.paster") { relocate("com.intellectualsites.paster", "com.boydti.fawe.paster") {