Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-11-05 07:40:11 +01:00
94f664ad8d
* Try to properly check if so_reuseport is available * io_uring "support" * comment out io_uring, for now * Make IO_uring opt-in via `-DGeyser.io_uring=true` flag * dont include io_uring * oops - bungee editing on mobile is hard * oops - spigot * oops - velocity * properly exclude all io_uring on all platforms except standalone --------- Co-authored-by: Kas-tle <26531652+Kas-tle@users.noreply.github.com>
37 Zeilen
1.4 KiB
Plaintext
37 Zeilen
1.4 KiB
Plaintext
dependencies {
|
|
api(projects.core)
|
|
implementation(libs.adventure.text.serializer.bungeecord)
|
|
compileOnlyApi(libs.bungeecord.proxy)
|
|
}
|
|
|
|
platformRelocate("net.md_5.bungee.jni")
|
|
platformRelocate("com.fasterxml.jackson")
|
|
platformRelocate("io.netty.channel.kqueue") // This is not used because relocating breaks natives, but we must include it or else we get ClassDefNotFound
|
|
platformRelocate("net.kyori")
|
|
platformRelocate("org.yaml") // Broken as of 1.20
|
|
|
|
// These dependencies are already present on the platform
|
|
provided(libs.bungeecord.proxy)
|
|
|
|
application {
|
|
mainClass.set("org.geysermc.geyser.platform.bungeecord.GeyserBungeeMain")
|
|
}
|
|
|
|
tasks.withType<com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar> {
|
|
archiveBaseName.set("Geyser-BungeeCord")
|
|
|
|
dependencies {
|
|
exclude(dependency("com.google.*:.*"))
|
|
exclude(dependency("io.netty.incubator:.*"))
|
|
exclude(dependency("io.netty:netty-transport-native-epoll:.*"))
|
|
exclude(dependency("io.netty:netty-transport-native-unix-common:.*"))
|
|
exclude(dependency("io.netty:netty-handler:.*"))
|
|
exclude(dependency("io.netty:netty-common:.*"))
|
|
exclude(dependency("io.netty:netty-buffer:.*"))
|
|
exclude(dependency("io.netty:netty-resolver:.*"))
|
|
exclude(dependency("io.netty:netty-transport:.*"))
|
|
exclude(dependency("io.netty:netty-codec:.*"))
|
|
exclude(dependency("io.netty:netty-resolver-dns:.*"))
|
|
}
|
|
}
|