Skip to content

Commit 2b9208c

Browse files
committed
Use Jackson BOM For Consistent Dependencies
Signed-off-by: Weltraumschaf <ich@weltraumschaf.de>
1 parent 92d1cc7 commit 2b9208c

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

hooks/persistence-defectdojo/hook/build.gradle

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,12 @@ dependencies {
2525
implementation group: "io.securecodebox", name: "defectdojo-client", version: "2.0.1"
2626
implementation group: "io.kubernetes", name: "client-java", version: "20.0.1"
2727
implementation group: "org.springframework", name: "spring-web", version: "6.2.11"
28-
implementation group: "com.fasterxml.jackson.core", name: "jackson-core", version: "2.20.0"
29-
implementation group: "com.fasterxml.jackson.core", name: "jackson-annotations", version: "2.20.0"
30-
implementation group: "com.fasterxml.jackson.core", name: "jackson-databind", version: "2.20.0"
31-
implementation group: "com.fasterxml.jackson.datatype", name: "jackson-datatype-jsr310", version: "2.20.0"
28+
// https://github.com/FasterXML/jackson-bom
29+
implementation platform("com.fasterxml.jackson:jackson-bom:2.20.0")
30+
implementation "com.fasterxml.jackson.core:jackson-core"
31+
implementation "com.fasterxml.jackson.core:jackson-annotations"
32+
implementation "com.fasterxml.jackson.core:jackson-databind"
33+
implementation "com.fasterxml.jackson.datatype:jackson-datatype-jsr310"
3234
implementation group: "org.slf4j", name: "slf4j-api", version: "2.0.17"
3335
implementation group: "org.slf4j", name: "slf4j-log4j12", version: "2.0.17"
3436
// If I try to notate this like the others (with separate strings) I got errors. No idea why sh... Gradle

0 commit comments

Comments
 (0)