Fix names of shaded jars

This commit is contained in:
Alexander Söderberg 2020-05-14 14:51:23 +02:00
parent b7f708dcd6
commit 2f02f4392a
No known key found for this signature in database
GPG Key ID: C0207FF7EA146678
2 changed files with 2 additions and 2 deletions

View File

@ -89,7 +89,7 @@ shadowJar {
relocate('net.kyori.text', 'com.plotsquared.formatting.text') relocate('net.kyori.text', 'com.plotsquared.formatting.text')
relocate("io.papermc.lib", "com.plotsquared.bukkit.paperlib") relocate("io.papermc.lib", "com.plotsquared.bukkit.paperlib")
relocate("org.bstats", "com.plotsquared.metrics") relocate("org.bstats", "com.plotsquared.metrics")
archiveFileName = "${parent.name}-${project.name}-${parent.version}.jar" archiveFileName = "${project.name}-${parent.version}.jar"
destinationDirectory = file "../target" destinationDirectory = file "../target"
} }

View File

@ -126,7 +126,7 @@ subprojects {
exclude "org/json/simple/**" exclude "org/json/simple/**"
} }
// relocate('org.mcstats', 'com.plotsquared.stats') // relocate('org.mcstats', 'com.plotsquared.stats')
archiveFileName = "${parent.name}-${project.name}-${parent.version}.jar" archiveFileName = "${project.name}-${parent.version}.jar"
destinationDirectory = file "../target" destinationDirectory = file "../target"
} }