mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-21 11:45:19 +01:00
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:
parent
2e9dfd6f6f
commit
62754362c2
2
.gitignore
vendored
2
.gitignore
vendored
@ -131,6 +131,8 @@ local.properties
|
|||||||
checkstyle.xml
|
checkstyle.xml
|
||||||
classes/
|
classes/
|
||||||
*.bat
|
*.bat
|
||||||
|
|
||||||
|
# Other
|
||||||
docs/
|
docs/
|
||||||
build/
|
build/
|
||||||
|
|
||||||
|
@ -85,6 +85,8 @@ tasks.named<ShadowJar>("shadowJar") {
|
|||||||
relocate("javax.annotation", "com.plotsquared.core.annotation")
|
relocate("javax.annotation", "com.plotsquared.core.annotation")
|
||||||
relocate("com.github.spotbugs", "com.plotsquared.core.spotbugs")
|
relocate("com.github.spotbugs", "com.plotsquared.core.spotbugs")
|
||||||
relocate("javax.inject", "com.plotsquared.core.annotation.inject")
|
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.
|
// Get rid of all the libs which are 100% unused.
|
||||||
minimize()
|
minimize()
|
||||||
|
Loading…
Reference in New Issue
Block a user