mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-12-01 12:41:45 +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>
29 lines
780 B
Text
29 lines
780 B
Text
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:.*"))
|
|
}
|
|
}
|