Skip to content

Commit

Permalink
Add this file too
Browse files Browse the repository at this point in the history
  • Loading branch information
Camotoy committed Nov 19, 2024
1 parent 6c5c451 commit 8b51883
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions bootstrap/mod/neoforge/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ architectury {
provided("org.cloudburstmc.math", "api")
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")

dependencies {
Expand All @@ -34,12 +31,6 @@ dependencies {
}
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
shadow(projects.api) { isTransitive = false }

Expand All @@ -65,11 +56,6 @@ tasks {
remapModrinthJar {
archiveBaseName.set("geyser-neoforge")
}

shadowJar {
// Without this, jackson's service files are not relocated
mergeServiceFiles()
}
}

modrinth {
Expand Down

0 comments on commit 8b51883

Please sign in to comment.