Don't relocate json-simple.

This commit is contained in:
Alexander Söderberg 2020-04-18 21:14:44 +02:00
parent 952ea0b090
commit cbea595fa0
No known key found for this signature in database
GPG Key ID: C0207FF7EA146678
2 changed files with 6 additions and 2 deletions

View File

@ -75,7 +75,9 @@ shadowJar {
include(dependency("net.kyori:text-serializer-plain:3.0.2"))
}
relocate('net.kyori.text', 'com.plotsquared.formatting.text')
relocate("org.json", "com.plotsquared.json")
relocate("org.json", "com.plotsquared.json") {
exclude "org/json/simple/**"
}
}
shadowJar.doLast {

View File

@ -123,7 +123,9 @@ subprojects {
include(dependency("net.kyori:text-api:3.0.2"))
}
relocate("io.papermc.lib", "com.plotsquared.bukkit.paperlib")
relocate("org.json", "com.plotsquared.json")
relocate("org.json", "com.plotsquared.json") {
exclude "org/json/simple/**"
}
// relocate('org.mcstats', 'com.plotsquared.stats')
archiveFileName = "${parent.name}-${project.name}-${parent.version}.jar"
destinationDirectory = file "../target"