Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-11-16 04:50:07 +01:00
9f32ba81b1
# Conflicts: # bootstrap/bungeecord/base/build.gradle.kts # bootstrap/spigot/base/build.gradle.kts # bootstrap/spigot/base/src/main/java/org/geysermc/geyser/platform/spigot/GeyserSpigotInjector.java # bootstrap/velocity/base/build.gradle.kts # core/build.gradle.kts # core/src/main/java/org/geysermc/geyser/GeyserImpl.java # core/src/main/java/org/geysermc/geyser/dump/DumpInfo.java # core/src/main/java/org/geysermc/geyser/entity/type/FireworkEntity.java # core/src/main/java/org/geysermc/geyser/network/netty/LocalSession.java # core/src/main/java/org/geysermc/geyser/session/GeyserSession.java # core/src/main/java/org/geysermc/geyser/translator/protocol/java/JavaCustomPayloadTranslator.java # core/src/main/java/org/geysermc/geyser/translator/protocol/java/JavaLoginTranslator.java # gradle.properties # gradle/libs.versions.toml # settings.gradle.kts
73 Zeilen
2.9 KiB
Plaintext
73 Zeilen
2.9 KiB
Plaintext
plugins {
|
|
id("geyser.publish-conventions")
|
|
}
|
|
|
|
dependencies {
|
|
implementation(libs.floodgate.velocity)
|
|
api(projects.core)
|
|
|
|
compileOnlyApi(libs.velocity.api)
|
|
}
|
|
|
|
platformRelocate("com.fasterxml.jackson")
|
|
platformRelocate("it.unimi.dsi.fastutil")
|
|
platformRelocate("net.kyori.adventure.text.serializer.gson.legacyimpl")
|
|
platformRelocate("org.yaml")
|
|
platformRelocate("org.bstats") //todo
|
|
|
|
exclude("com.google.*:*")
|
|
|
|
// Needed because Velocity provides every dependency except netty-resolver-dns
|
|
exclude("io.netty.incubator:.*")
|
|
exclude("io.netty:netty-transport-native-epoll:*")
|
|
exclude("io.netty:netty-transport-native-unix-common:*")
|
|
exclude("io.netty:netty-transport-native-kqueue:*")
|
|
exclude("io.netty:netty-handler:*")
|
|
exclude("io.netty:netty-common:*")
|
|
exclude("io.netty:netty-buffer:*")
|
|
exclude("io.netty:netty-resolver:*")
|
|
exclude("io.netty:netty-transport:*")
|
|
exclude("io.netty:netty-codec:*")
|
|
exclude("io.netty:netty-codec-haproxy:*")
|
|
exclude("org.slf4j:*")
|
|
exclude("org.ow2.asm:*")
|
|
|
|
// Exclude all Kyori dependencies except the legacy NBT serializer
|
|
exclude("net.kyori:adventure-api:*")
|
|
exclude("net.kyori:examination-api:*")
|
|
exclude("net.kyori:examination-string:*")
|
|
exclude("net.kyori:adventure-text-serializer-gson:*")
|
|
exclude("net.kyori:adventure-text-serializer-legacy:*")
|
|
exclude("net.kyori:adventure-nbt:*")
|
|
|
|
// These dependencies are already present on the platform
|
|
provided(libs.velocity.api)
|
|
|
|
tasks.withType<com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar> {
|
|
archiveBaseName.set("Geyser-Velocity")
|
|
|
|
dependencies {
|
|
exclude(dependency("com.google.*:.*"))
|
|
// Needed because Velocity provides every dependency except netty-resolver-dns
|
|
exclude(dependency("io.netty:netty-transport-native-epoll:.*"))
|
|
exclude(dependency("io.netty:netty-transport-native-unix-common:.*"))
|
|
exclude(dependency("io.netty:netty-transport-native-kqueue:.*"))
|
|
exclude(dependency("io.netty:netty-handler:.*"))
|
|
exclude(dependency("io.netty:netty-common:.*"))
|
|
exclude(dependency("io.netty:netty-buffer:.*"))
|
|
exclude(dependency("io.netty:netty-resolver:.*"))
|
|
exclude(dependency("io.netty:netty-transport:.*"))
|
|
exclude(dependency("io.netty:netty-codec:.*"))
|
|
exclude(dependency("io.netty:netty-codec-haproxy:.*"))
|
|
exclude(dependency("io.netty.incubator:.*"))
|
|
exclude(dependency("org.slf4j:.*"))
|
|
exclude(dependency("org.ow2.asm:.*"))
|
|
// Exclude all Kyori dependencies except the legacy NBT serializer
|
|
exclude(dependency("net.kyori:adventure-api:.*"))
|
|
exclude(dependency("net.kyori:examination-api:.*"))
|
|
exclude(dependency("net.kyori:examination-string:.*"))
|
|
exclude(dependency("net.kyori:adventure-text-serializer-gson:.*"))
|
|
exclude(dependency("net.kyori:adventure-text-serializer-legacy:.*"))
|
|
exclude(dependency("net.kyori:adventure-nbt:.*"))
|
|
}
|
|
} |