Skip to content

Commit 5a213b6

Browse files
committed
jackson compat with zenith >3.3.4
1 parent 76ce80f commit 5a213b6

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

build.gradle.kts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ repositories {
2727
dependencies {
2828
zenithProxy("com.zenith:ZenithProxy:$mc-SNAPSHOT")
2929
shade("io.javalin:javalin:6.7.0")
30+
31+
// todo: remove when javalin updates to jackson 3
32+
shade("com.fasterxml.jackson.core:jackson-core:2.20.1")
33+
shade("com.fasterxml.jackson.core:jackson-databind:2.20.1")
34+
shade("com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.20.1")
3035
}
3136

3237
tasks {
@@ -39,8 +44,8 @@ tasks {
3944
exclude("META-INF/maven/**")
4045
// todo: transform service files? seems to work fine without them for now
4146
dependencies {
42-
exclude(dependency("org.slf4j::"))
43-
exclude(dependency("org.jetbrains:annotations:"))
47+
exclude(dependency("org.slf4j:.*:.*"))
48+
exclude(dependency("org.jetbrains:annotations:.*:.*"))
4449
}
4550
}
4651
}

0 commit comments

Comments
 (0)