2024-02-19 21:25:49 +00:00
|
|
|
dependencies {
|
|
|
|
api(projects.core)
|
2024-03-19 22:05:30 +00:00
|
|
|
|
|
|
|
compileOnlyApi(libs.viaproxy)
|
2024-02-19 21:25:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
platformRelocate("net.kyori")
|
|
|
|
platformRelocate("org.yaml")
|
|
|
|
platformRelocate("it.unimi.dsi.fastutil")
|
|
|
|
platformRelocate("org.cloudburstmc.netty")
|
2024-07-07 02:49:28 +00:00
|
|
|
platformRelocate("org.bstats")
|
2024-02-19 21:25:49 +00:00
|
|
|
|
|
|
|
// 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:.*"))
|
2024-04-19 09:50:40 +00:00
|
|
|
exclude(dependency("io.netty.incubator:.*"))
|
2024-02-19 21:25:49 +00:00
|
|
|
exclude(dependency("org.slf4j:.*"))
|
|
|
|
exclude(dependency("org.ow2.asm:.*"))
|
|
|
|
}
|
|
|
|
}
|