Clean up jar file classes a bit

This commit is contained in:
Camotoy 2023-03-22 11:10:04 -04:00
parent 7474d2c745
commit 323394d2b5
No known key found for this signature in database
GPG key ID: 7EEFB66FE798081F
4 changed files with 38 additions and 3 deletions

View file

@ -44,6 +44,7 @@ tasks.withType<com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar> {
// We cannot shade Netty, or else native libraries will not load
// Needed because older Spigot builds do not provide the haproxy module
exclude(dependency("io.netty:netty-transport-classes-epoll:.*"))
exclude(dependency("io.netty:netty-transport-native-epoll:.*"))
exclude(dependency("io.netty:netty-transport-native-unix-common:.*"))
exclude(dependency("io.netty:netty-transport-native-kqueue:.*"))