Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-11-20 06:50:09 +01:00
39 Zeilen
886 B
Plaintext
39 Zeilen
886 B
Plaintext
java {
|
|
targetCompatibility = JavaVersion.VERSION_17
|
|
sourceCompatibility = JavaVersion.VERSION_17
|
|
}
|
|
|
|
indra {
|
|
javaVersions {
|
|
target(17)
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
api(projects.core)
|
|
}
|
|
|
|
platformRelocate("net.kyori")
|
|
platformRelocate("org.yaml")
|
|
platformRelocate("it.unimi.dsi.fastutil")
|
|
platformRelocate("com.mojang")
|
|
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:.*"))
|
|
}
|
|
}
|