build: Don't expose jcip and findbugs

This commit is contained in:
NotMyFault 2022-03-09 00:12:01 +01:00
parent 5e188d114f
commit d04d900c13
No known key found for this signature in database
GPG Key ID: 158F5701A6AAD00C

View File

@ -68,23 +68,25 @@ tasks.named<ShadowJar>("shadowJar") {
relocate("net.kyori.adventure", "com.plotsquared.core.configuration.adventure") relocate("net.kyori.adventure", "com.plotsquared.core.configuration.adventure")
relocate("net.kyori.examination", "com.plotsquared.core.configuration.examination") relocate("net.kyori.examination", "com.plotsquared.core.configuration.examination")
relocate("io.papermc.lib", "com.plotsquared.bukkit.paperlib") relocate("io.papermc.lib", "com.plotsquared.bukkit.internal.paperlib")
relocate("org.bstats", "com.plotsquared.metrics") relocate("org.bstats", "com.plotsquared.core.internal.metrics")
relocate("org.enginehub", "com.plotsquared.squirrelid") relocate("org.enginehub", "com.plotsquared.core.squirrelid")
relocate("org.khelekore.prtree", "com.plotsquared.prtree") relocate("org.khelekore.prtree", "com.plotsquared.core.prtree")
relocate("com.google.inject", "com.plotsquared.google") relocate("com.google.inject", "com.plotsquared.core.google")
relocate("org.aopalliance", "com.plotsquared.core.aopalliance") relocate("org.aopalliance", "com.plotsquared.core.google.aopalliance")
relocate("cloud.commandframework.services", "com.plotsquared.core.services") relocate("cloud.commandframework.services", "com.plotsquared.core.cloud.services")
relocate("io.leangen.geantyref", "com.plotsquared.core.geantyref") relocate("io.leangen.geantyref", "com.plotsquared.core.cloud.geantyref")
relocate("com.intellectualsites.arkitektonika", "com.plotsquared.core.arkitektonika") relocate("com.intellectualsites.arkitektonika", "com.plotsquared.core.web.arkitektonika")
relocate("com.intellectualsites.http", "com.plotsquared.core.http") relocate("com.intellectualsites.http", "com.plotsquared.core.web.http")
relocate("com.intellectualsites.paster", "com.plotsquared.core.paster") relocate("com.intellectualsites.paster", "com.plotsquared.core.web.paster")
relocate("org.incendo.serverlib", "com.plotsquared.bukkit.serverlib") relocate("org.incendo.serverlib", "com.plotsquared.bukkit.internal.serverlib")
relocate("org.jetbrains", "com.plotsquared.core.annotations") relocate("org.jetbrains", "com.plotsquared.core.annotations.jetbrains.annotation")
relocate("org.intellij.lang", "com.plotsquared.core.intellij.annotations") relocate("org.intellij.lang", "com.plotsquared.core.annotations.intellij.annotations")
relocate("javax.annotation", "com.plotsquared.core.annotation") relocate("javax.annotation", "com.plotsquared.core.annotations.javax.annotation")
relocate("com.google.code.findbugs", "com.plotsquared.core.findbugs") relocate("com.google.code.findbugs", "com.plotsquared.core.annotations.jsr305")
relocate("javax.inject", "com.plotsquared.core.annotation.inject") relocate("javax.inject", "com.plotsquared.core.annotations.javax.inject")
relocate("net.jcip", "com.plotsquared.core.annotations.jcip")
relocate("edu.umd.cs.findbugs", "com.plotsquared.core.annotations.findbugs")
// Get rid of all the libs which are 100% unused. // Get rid of all the libs which are 100% unused.
minimize() minimize()