Updated exclusions (Maven/Gradle)

This commit is contained in:
Intelli 2022-12-21 19:56:32 -07:00
parent 5d6fd60d40
commit 3ffed30b1e
2 changed files with 12 additions and 0 deletions

View File

@ -52,6 +52,10 @@ shadowJar {
// #toString because #getGroup technically returns an Object // #toString because #getGroup technically returns an Object
relocate('org.bstats', project.group.toString()) relocate('org.bstats', project.group.toString())
relocate('com.zaxxer', project.group.toString()) relocate('com.zaxxer', project.group.toString())
exclude(dependency('com.google.code.gson:.*'))
exclude(dependency('org.intellij:.*'))
exclude(dependency('org.jetbrains:.*'))
exclude(dependency('org.slf4j:.*'))
} }
archiveClassifier.set(null) archiveClassifier.set(null)
} }

View File

@ -51,6 +51,14 @@
</excludes> </excludes>
</filter> </filter>
</filters> </filters>
<artifactSet>
<excludes>
<exclude>com.google.code.gson:*</exclude>
<exclude>org.intellij:*</exclude>
<exclude>org.jetbrains:*</exclude>
<exclude>org.slf4j:*</exclude>
</excludes>
</artifactSet>
<relocations> <relocations>
<relocation> <relocation>
<pattern>org.bstats</pattern> <pattern>org.bstats</pattern>