Add this file too

This commit is contained in:
Camotoy 2024-11-18 20:50:51 -05:00
parent 6c5c45176b
commit 8b518837cd
No known key found for this signature in database
GPG key ID: 7EEFB66FE798081F

View file

@ -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 {