build: Don't expose jcip and findbugs annotations to the world on runtime (#3533)

* build: Don't expose jcip and findbugs

* build: Revert relocation change of unpublished, shaded deps

* chore: Exclude .DS_Store files
This commit is contained in:
Alexander Brandes
2022-05-21 12:01:06 +02:00
committed by GitHub
parent 2e9dfd6f6f
commit 62754362c2
2 changed files with 4 additions and 0 deletions

View File

@ -85,6 +85,8 @@ tasks.named<ShadowJar>("shadowJar") {
relocate("javax.annotation", "com.plotsquared.core.annotation")
relocate("com.github.spotbugs", "com.plotsquared.core.spotbugs")
relocate("javax.inject", "com.plotsquared.core.annotation.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.
minimize()