Skip to content

Commit 7d2b934

Browse files
committed
jackson bom
1 parent b79fa94 commit 7d2b934

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

bosk-jackson/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11

22
dependencies {
3+
api platform(libs.jackson.bom)
34
api libs.jackson.databind
45
api project(":bosk-core")
56

bosk-mongo/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ dependencies {
77
compileOnly libs.jsr305 // Mongo client uses nullability annotations
88

99
// Allows us to annotate status objects so they're handy to serialize with jackson
10+
implementation platform(libs.jackson.bom)
1011
implementation libs.jackson.annotations
1112

1213
testImplementation project(":bosk-logback")

gradle/libs.versions.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@ asm = { module = "org.ow2.asm:asm", version.ref = "asm" }
1717
hamcrest = { module = "org.hamcrest:hamcrest", version.ref = "hamcrest" }
1818
hamcrest-library = { module = "org.hamcrest:hamcrest-library", version.ref = "hamcrest" }
1919
hikari = { module = "com.zaxxer:HikariCP", version = "7.0.2" }
20-
jackson-annotations = { module = "com.fasterxml.jackson.core:jackson-annotations", version.ref = "jackson" }
21-
jackson-databind = { module = "com.fasterxml.jackson.core:jackson-databind", version.ref="jackson" }
20+
jackson-bom = { module = "com.fasterxml.jackson:jackson-bom", version.ref = "jackson" }
21+
jackson-annotations = { module = "com.fasterxml.jackson.core:jackson-annotations" }
22+
jackson-databind = { module = "com.fasterxml.jackson.core:jackson-databind" }
2223
jetbrains-annotations = { module = "org.jetbrains:annotations", version.ref="jetbrains-annotations" }
2324
jmh-apt = { module = "org.openjdk.jmh:jmh-generator-annprocess", version.ref = "jmh" }
2425
jmh-core = { module = "org.openjdk.jmh:jmh-core", version.ref = "jmh" }

0 commit comments

Comments
 (0)