Nevermind, it doesn't allow for relocations

This commit is contained in:
Alexander Söderberg 2020-07-13 20:50:49 +02:00
parent d141b040d6
commit b109b76120
No known key found for this signature in database
GPG Key ID: C0207FF7EA146678

View File

@ -103,14 +103,15 @@ shadowJar {
include(dependency('org.apache.logging.log4j:log4j-slf4j-impl:2.13.3'))
include(dependency('org.apache.logging.log4j:log4j-core:2.13.3'))
include(dependency('org.apache.logging.log4j:log4j-api:2.13.3'))
include(dependency('org.slf4j:slf4j-api:1.7.26'))
}
relocate('net.kyori.text', 'com.plotsquared.formatting.text')
relocate("io.papermc.lib", "com.plotsquared.bukkit.paperlib")
relocate("org.bstats", "com.plotsquared.metrics")
relocate('com.sk89q.squirrelid', 'com.plotsquared.squirrelid')
relocate('org.khelekore.prtree', 'com.plotsquared.prtree')
relocate('org.apache.logging', 'com.plotsquared.logging.apache')
relocate('org.slf4j', 'com.plotsquared.logging.slf4j')
// relocate('org.apache.logging', 'com.plotsquared.logging.apache')
// relocate('org.slf4j', 'com.plotsquared.logging.slf4j')
archiveFileName = "${project.name}-${parent.version}.jar"
destinationDirectory = file "../target"
}