Relocate annotations properly

This commit is contained in:
NotMyFault 2021-09-12 13:56:08 +02:00
parent 115932c65a
commit 9f54472dd6
No known key found for this signature in database
GPG Key ID: 158F5701A6AAD00C

View File

@ -80,6 +80,10 @@ tasks.named<ShadowJar>("shadowJar") {
relocate("com.intellectualsites.http", "com.plotsquared.core.http")
relocate("com.intellectualsites.paster", "com.plotsquared.core.paster")
relocate("org.incendo.serverlib", "com.plotsquared.bukkit.serverlib")
relocate("org.jetbrains", "com.plotsquared.core.annotations")
relocate("org.intellij.lang", "com.plotsquared.core.intellij.annotations")
relocate("javax.annotation", "com.plotsquared.core.annotation")
relocate("javax.inject", "com.plotsquared.core.annotation.inject")
// Get rid of all the libs which are 100% unused.
minimize()