Skip to content

Commit 23da547

Browse files
authored
chore: use jackson bom and update dependabot ignores (#231)
1 parent e0d68d1 commit 23da547

File tree

2 files changed

+23
-9
lines changed

2 files changed

+23
-9
lines changed

.github/dependabot.yaml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,10 @@ updates:
77
schedule:
88
interval: "monthly"
99
ignore:
10-
- dependency-name: "com.diffplug.spotless:spotless-plugin-gradle"
10+
- dependency-name: "com.diffplug.spotless"
1111
versions: [">=8.0.0"]
12+
- dependency-name: "org.junit.jupiter:junit-jupiter"
13+
versions: [ ">=6.0.0" ]
1214
groups:
1315
dependencies:
1416
patterns:
@@ -19,8 +21,10 @@ updates:
1921
schedule:
2022
interval: "monthly"
2123
ignore:
22-
- dependency-name: "com.diffplug.spotless:spotless-plugin-gradle"
24+
- dependency-name: "com.diffplug.spotless"
2325
versions: [">=8.0.0"]
26+
- dependency-name: "org.junit.jupiter:junit-jupiter"
27+
versions: [ ">=6.0.0" ]
2428
groups:
2529
dependencies:
2630
patterns:
@@ -31,8 +35,10 @@ updates:
3135
schedule:
3236
interval: "monthly"
3337
ignore:
34-
- dependency-name: "com.diffplug.spotless:spotless-plugin-gradle"
38+
- dependency-name: "com.diffplug.spotless"
3539
versions: [">=8.0.0"]
40+
- dependency-name: "org.junit.jupiter:junit-jupiter"
41+
versions: [ ">=6.0.0" ]
3642
groups:
3743
dependencies:
3844
patterns:

build.gradle

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,16 @@ ext {
6060

6161
dependencies {
6262
implementation "com.google.code.findbugs:jsr305:3.0.2"
63-
implementation "com.fasterxml.jackson.core:jackson-core:$jackson_version"
64-
implementation "com.fasterxml.jackson.core:jackson-annotations:$jackson_version"
65-
implementation "com.fasterxml.jackson.core:jackson-databind:$jackson_version"
66-
implementation "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:$jackson_version"
63+
64+
// ---- Jackson ----
65+
implementation platform("com.fasterxml.jackson:jackson-bom:$jackson_version")
66+
implementation "com.fasterxml.jackson.core:jackson-core"
67+
implementation "com.fasterxml.jackson.core:jackson-annotations"
68+
implementation "com.fasterxml.jackson.core:jackson-databind"
69+
implementation "com.fasterxml.jackson.datatype:jackson-datatype-jsr310"
6770
implementation "org.openapitools:jackson-databind-nullable:0.2.7"
71+
72+
// ---- OpenTelemetry ----
6873
implementation platform("io.opentelemetry:opentelemetry-bom:1.53.0")
6974
implementation "io.opentelemetry:opentelemetry-api"
7075
}
@@ -104,8 +109,11 @@ testing {
104109
useJUnitJupiter()
105110

106111
dependencies {
107-
implementation "com.fasterxml.jackson.core:jackson-core:$jackson_version"
108-
implementation "com.fasterxml.jackson.core:jackson-databind:$jackson_version"
112+
// --- Jackson ---
113+
implementation platform("com.fasterxml.jackson:jackson-bom:$jackson_version")
114+
implementation "com.fasterxml.jackson.core:jackson-core"
115+
implementation "com.fasterxml.jackson.core:jackson-databind"
116+
109117
implementation "org.testcontainers:junit-jupiter:1.21.3"
110118
implementation "org.testcontainers:openfga:1.21.3"
111119
implementation project()

0 commit comments

Comments
 (0)