mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-11-29 19:52:48 +01:00
35 lines
No EOL
1.3 KiB
Text
35 lines
No EOL
1.3 KiB
Text
val bungeeVersion = "a7c6ede";
|
|
|
|
dependencies {
|
|
api(projects.core)
|
|
}
|
|
|
|
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")
|
|
|
|
// These dependencies are already present on the platform
|
|
provided("com.github.SpigotMC.BungeeCord", "bungeecord-proxy", bungeeVersion)
|
|
|
|
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("org.yaml:.*"))
|
|
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:.*"))
|
|
}
|
|
} |