Skip to content

Commit

Permalink
Fix slf4j issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jpenilla committed Dec 6, 2024
1 parent 392668c commit edacf05
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
3 changes: 2 additions & 1 deletion buildSrc/src/main/kotlin/config-publish.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ fun ShadowJar.configureStandard() {

dependencies {
exclude(dependency("org.jetbrains.kotlin:.*:.*"))
exclude(dependency("org.slf4j:.*:.*"))
}

exclude("META-INF/*.SF", "META-INF/*.DSA", "META-INF/*.RSA", "OSGI-INF/**", "*.profile", "module-info.class", "ant_tasks/**")
Expand Down Expand Up @@ -83,7 +84,7 @@ val shadowJar by tasks.existing(ShadowJar::class) {
"org.objectweb.asm",
"org.osgi",
"org.tukaani.xz",
"org.slf4j",
//"org.slf4j",
"codechicken.diffpatch",
"codechicken.repack"
).forEach { pack ->
Expand Down
1 change: 0 additions & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ hypo-hydrate = { module = "dev.denwav.hypo:hypo-hydrate", version.ref = "hypo" }
hypo-asm-core = { module = "dev.denwav.hypo:hypo-asm", version.ref = "hypo" }
hypo-asm-hydrate = { module = "dev.denwav.hypo:hypo-asm-hydrate", version.ref = "hypo" }
hypo-mappings = { module = "dev.denwav.hypo:hypo-mappings", version.ref = "hypo" }
slf4j-jdk14 = "org.slf4j:slf4j-jdk14:1.7.32"

lorenzTiny = "net.fabricmc:lorenz-tiny:3.0.0"
jbsdiff = "io.sigpipe:jbsdiff:1.0"
Expand Down
1 change: 0 additions & 1 deletion paperweight-lib/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ dependencies {
implementation(libs.bundles.asm)

implementation(libs.bundles.hypo)
implementation(libs.slf4j.jdk14) // slf4j impl for hypo
implementation(libs.bundles.cadix)

implementation(libs.lorenzTiny)
Expand Down

0 comments on commit edacf05

Please sign in to comment.