Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-11-03 14:50:19 +01:00
867cf6da05
* Use JiJ inclusion for Fabric/NeoForge to prevent mod conflicts. Further: Don't publish shadow jars to maven. * Shade and relocate dependencies that don't conform to SemVer on Fabric * Shade/Relocate dependencies on Fabric to avoid version warnings * Use relocate function from the build-logic plugin
29 Zeilen
727 B
Plaintext
29 Zeilen
727 B
Plaintext
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("org.slf4j:.*"))
|
|
exclude(dependency("org.ow2.asm:.*"))
|
|
}
|
|
}
|