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")
|
2024-07-12 06:56:42 +02:00
|
|
|
platformRelocate("org.incendo")
|
|
|
|
platformRelocate("io.leangen.geantyref") // provided by cloud, should also be relocated
|
2024-02-19 22:25:49 +01:00
|
|
|
|
|
|
|
// These dependencies are already present on the platform
|
|
|
|
provided(libs.viaproxy)
|
|
|
|
|
2024-07-12 06:56:42 +02:00
|
|
|
tasks.withType<Jar> {
|
|
|
|
manifest.attributes["Main-Class"] = "org.geysermc.geyser.platform.viaproxy.GeyserViaProxyMain"
|
2024-02-19 22:25:49 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
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 11:50:40 +02:00
|
|
|
exclude(dependency("io.netty.incubator:.*"))
|
2024-02-19 22:25:49 +01:00
|
|
|
exclude(dependency("org.slf4j:.*"))
|
|
|
|
exclude(dependency("org.ow2.asm:.*"))
|
|
|
|
}
|
|
|
|
}
|