mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
properly exclude all io_uring on all platforms except standalone
This commit is contained in:
parent
7c7b9a6177
commit
77db33fb46
4 changed files with 5 additions and 3 deletions
|
@ -22,7 +22,7 @@ tasks.withType<com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar> {
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
exclude(dependency("com.google.*:.*"))
|
exclude(dependency("com.google.*:.*"))
|
||||||
exclude(dependency("io.netty.incubator:netty-incubator-transport-native-io_uring:.*"))
|
exclude(dependency("io.netty.incubator:.*"))
|
||||||
exclude(dependency("io.netty:netty-transport-native-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-unix-common:.*"))
|
||||||
exclude(dependency("io.netty:netty-handler:.*"))
|
exclude(dependency("io.netty:netty-handler:.*"))
|
||||||
|
|
|
@ -41,7 +41,7 @@ tasks.withType<com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar> {
|
||||||
|
|
||||||
// We cannot shade Netty, or else native libraries will not load
|
// We cannot shade Netty, or else native libraries will not load
|
||||||
// Needed because older Spigot builds do not provide the haproxy module
|
// Needed because older Spigot builds do not provide the haproxy module
|
||||||
exclude(dependency("io.netty.incubator:netty-incubator-transport-native-io_uring:.*"))
|
exclude(dependency("io.netty.incubator:.*"))
|
||||||
exclude(dependency("io.netty:netty-transport-classes-epoll:.*"))
|
exclude(dependency("io.netty:netty-transport-classes-epoll:.*"))
|
||||||
exclude(dependency("io.netty:netty-transport-native-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-unix-common:.*"))
|
||||||
|
|
|
@ -13,7 +13,7 @@ platformRelocate("org.yaml")
|
||||||
exclude("com.google.*:*")
|
exclude("com.google.*:*")
|
||||||
|
|
||||||
// Needed because Velocity provides every dependency except netty-resolver-dns
|
// Needed because Velocity provides every dependency except netty-resolver-dns
|
||||||
exclude("io.netty.incubator:netty-incubator-transport-native-io_uring:.*")
|
exclude("io.netty.incubator:.*")
|
||||||
exclude("io.netty:netty-transport-native-epoll:*")
|
exclude("io.netty:netty-transport-native-epoll:*")
|
||||||
exclude("io.netty:netty-transport-native-unix-common:*")
|
exclude("io.netty:netty-transport-native-unix-common:*")
|
||||||
exclude("io.netty:netty-transport-native-kqueue:*")
|
exclude("io.netty:netty-transport-native-kqueue:*")
|
||||||
|
@ -58,6 +58,7 @@ tasks.withType<com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar> {
|
||||||
exclude(dependency("io.netty:netty-transport:.*"))
|
exclude(dependency("io.netty:netty-transport:.*"))
|
||||||
exclude(dependency("io.netty:netty-codec:.*"))
|
exclude(dependency("io.netty:netty-codec:.*"))
|
||||||
exclude(dependency("io.netty:netty-codec-haproxy:.*"))
|
exclude(dependency("io.netty:netty-codec-haproxy:.*"))
|
||||||
|
exclude(dependency("io.netty.incubator:.*"))
|
||||||
exclude(dependency("org.slf4j:.*"))
|
exclude(dependency("org.slf4j:.*"))
|
||||||
exclude(dependency("org.ow2.asm:.*"))
|
exclude(dependency("org.ow2.asm:.*"))
|
||||||
// Exclude all Kyori dependencies except the legacy NBT serializer
|
// Exclude all Kyori dependencies except the legacy NBT serializer
|
||||||
|
|
|
@ -27,6 +27,7 @@ provided("io.netty", "netty-transport-native-unix-common")
|
||||||
provided("io.netty", "netty-transport-classes-kqueue")
|
provided("io.netty", "netty-transport-classes-kqueue")
|
||||||
provided("io.netty", "netty-transport-native-kqueue")
|
provided("io.netty", "netty-transport-native-kqueue")
|
||||||
provided("io.netty.incubator", "netty-incubator-transport-native-io_uring")
|
provided("io.netty.incubator", "netty-incubator-transport-native-io_uring")
|
||||||
|
provided("io.netty.incubator", "netty-incubator-transport-classes-io_uring")
|
||||||
provided("io.netty", "netty-handler")
|
provided("io.netty", "netty-handler")
|
||||||
provided("io.netty", "netty-common")
|
provided("io.netty", "netty-common")
|
||||||
provided("io.netty", "netty-buffer")
|
provided("io.netty", "netty-buffer")
|
||||||
|
|
Loading…
Reference in a new issue