2024-02-19 22:25:49 +01:00
|
|
|
dependencies {
|
|
|
|
api(projects.core)
|
2024-03-19 23:05:30 +01:00
|
|
|
|
|
|
|
compileOnlyApi(libs.viaproxy)
|
2024-02-19 22:25:49 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
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("org.slf4j:.*"))
|
|
|
|
exclude(dependency("org.ow2.asm:.*"))
|
|
|
|
}
|
|
|
|
}
|