Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-12-26 16:12:46 +01:00
e491cf8a17
Move all of our dependencies to a single catalogue file to make maintenance of them easier.
34 Zeilen
904 B
Plaintext
34 Zeilen
904 B
Plaintext
dependencies {
|
|
api(projects.core)
|
|
}
|
|
|
|
platformRelocate("com.fasterxml.jackson")
|
|
platformRelocate("io.netty")
|
|
platformRelocate("it.unimi.dsi.fastutil")
|
|
platformRelocate("com.google.common")
|
|
platformRelocate("com.google.guava")
|
|
platformRelocate("net.kyori")
|
|
|
|
// Exclude these dependencies
|
|
exclude("com.google.code.gson:*")
|
|
exclude("org.yaml:*")
|
|
exclude("org.slf4j:*")
|
|
exclude("org.ow2.asm:*")
|
|
|
|
// These dependencies are already present on the platform
|
|
provided(libs.sponge.api)
|
|
|
|
application {
|
|
mainClass.set("org.geysermc.geyser.platform.sponge.GeyserSpongeMain")
|
|
}
|
|
|
|
tasks.withType<com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar> {
|
|
archiveBaseName.set("Geyser-Sponge")
|
|
|
|
dependencies {
|
|
exclude(dependency("com.google.code.gson:.*"))
|
|
exclude(dependency("org.yaml:.*"))
|
|
exclude(dependency("org.slf4j:.*"))
|
|
exclude(dependency("org.ow2.asm:.*"))
|
|
}
|
|
} |