Skip to content

Commit 9d84fad

Browse files
committed
Do not use jackson-bom to avoid sonatype build failure
1 parent 0dfd30c commit 9d84fad

File tree

3 files changed

+4
-8
lines changed

3 files changed

+4
-8
lines changed

gradle/libraries.versions.toml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
retrofit2 = "3.0.0"
33
jjwt = "0.13.0"
44
jackson = "2.20.0"
5+
jackson-annotations = "2.20"
56
assertj = "3.27.6"
67
junit = "6.0.0"
78
junitPlatformLauncher = "6.0.0"
@@ -21,11 +22,9 @@ logback = { module = "ch.qos.logback:logback-classic", version = "1.5.19" }
2122
okhttp3 = { module = "com.squareup.okhttp3:okhttp", version.ref = "okhttp3" }
2223
okhttp3-logging-interceptor = { module = "com.squareup.okhttp3:logging-interceptor", version.ref = "okhttp3" }
2324

24-
jackson-bom = { module = "com.fasterxml.jackson:jackson-bom", version.ref = "jackson" }
25-
26-
jackson-databind = { module = "com.fasterxml.jackson.core:jackson-databind" }
27-
jackson-annotations = { module = "com.fasterxml.jackson.core:jackson-annotations" }
28-
jackson-datatype-jsr310 = { module = "com.fasterxml.jackson.datatype:jackson-datatype-jsr310" }
25+
jackson-databind = { module = "com.fasterxml.jackson.core:jackson-databind", version.ref = "jackson" }
26+
jackson-annotations = { module = "com.fasterxml.jackson.core:jackson-annotations", version.ref = "jackson-annotations" }
27+
jackson-datatype-jsr310 = { module = "com.fasterxml.jackson.datatype:jackson-datatype-jsr310", version.ref = "jackson" }
2928

3029
findbugs-jsr305 = { module = "com.google.code.findbugs:jsr305", version = "3.0.2" }
3130

line-bot-jackson/build.gradle.kts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ plugins {
2020
}
2121

2222
dependencies {
23-
api(platform(libs.jackson.bom))
2423
api(libs.jackson.databind) // Provide configured ObjectMapper.
2524
implementation(libs.jackson.datatype.jsr310)
2625
}

line-bot-webhook/build.gradle.kts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ plugins {
2121

2222

2323
dependencies {
24-
implementation(platform(libs.jackson.bom))
25-
2624
compileOnly(libs.jackson.annotations)
2725
compileOnly(libs.javax.annotation)
2826
compileOnly(libs.jakarta.annotation.api)

0 commit comments

Comments
 (0)