mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-12-22 14:34:59 +01:00
Add this file too
This commit is contained in:
parent
6c5c45176b
commit
8b518837cd
1 changed files with 0 additions and 14 deletions
|
@ -13,9 +13,6 @@ architectury {
|
||||||
provided("org.cloudburstmc.math", "api")
|
provided("org.cloudburstmc.math", "api")
|
||||||
provided("com.google.errorprone", "error_prone_annotations")
|
provided("com.google.errorprone", "error_prone_annotations")
|
||||||
|
|
||||||
// Jackson shipped by Minecraft is too old, so we shade & relocate our newer version
|
|
||||||
relocate("com.fasterxml.jackson")
|
|
||||||
|
|
||||||
val includeTransitive: Configuration = configurations.getByName("includeTransitive")
|
val includeTransitive: Configuration = configurations.getByName("includeTransitive")
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
@ -34,12 +31,6 @@ dependencies {
|
||||||
}
|
}
|
||||||
shadow(projects.core) { isTransitive = false }
|
shadow(projects.core) { isTransitive = false }
|
||||||
|
|
||||||
// Minecraft (1.21.2+) includes jackson. But an old version!
|
|
||||||
shadow(libs.jackson.core) { isTransitive = false }
|
|
||||||
shadow(libs.jackson.databind) { isTransitive = false }
|
|
||||||
shadow(libs.jackson.dataformat.yaml) { isTransitive = false }
|
|
||||||
shadow(libs.jackson.annotations) { isTransitive = false }
|
|
||||||
|
|
||||||
// Let's shade in our own api
|
// Let's shade in our own api
|
||||||
shadow(projects.api) { isTransitive = false }
|
shadow(projects.api) { isTransitive = false }
|
||||||
|
|
||||||
|
@ -65,11 +56,6 @@ tasks {
|
||||||
remapModrinthJar {
|
remapModrinthJar {
|
||||||
archiveBaseName.set("geyser-neoforge")
|
archiveBaseName.set("geyser-neoforge")
|
||||||
}
|
}
|
||||||
|
|
||||||
shadowJar {
|
|
||||||
// Without this, jackson's service files are not relocated
|
|
||||||
mergeServiceFiles()
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
modrinth {
|
modrinth {
|
||||||
|
|
Loading…
Reference in a new issue