Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-11-14 20:10:14 +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>
30 Zeilen
780 B
Plaintext
30 Zeilen
780 B
Plaintext
dependencies {
|
|
api(projects.core)
|
|
|
|
compileOnlyApi(libs.viaproxy)
|
|
}
|
|
|
|
platformRelocate("net.kyori")
|
|
platformRelocate("org.yaml")
|
|
platformRelocate("it.unimi.dsi.fastutil")
|
|
platformRelocate("org.cloudburstmc.netty")
|
|
|
|
// These dependencies are already present on the platform
|
|
provided(libs.viaproxy)
|
|
|
|
application {
|
|
mainClass.set("org.geysermc.geyser.platform.viaproxy.GeyserViaProxyMain")
|
|
}
|
|
|
|
tasks.withType<com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar> {
|
|
archiveBaseName.set("Geyser-ViaProxy")
|
|
|
|
dependencies {
|
|
exclude(dependency("com.google.*:.*"))
|
|
exclude(dependency("io.netty:.*"))
|
|
exclude(dependency("io.netty.incubator:.*"))
|
|
exclude(dependency("org.slf4j:.*"))
|
|
exclude(dependency("org.ow2.asm:.*"))
|
|
}
|
|
}
|