Skip to content

Commit 20af22a

Browse files
committed
Bind jackson dependencies to a common version.
1 parent 3bfeec3 commit 20af22a

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

build.gradle

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,18 @@ repositories {
2222
mavenCentral()
2323
}
2424

25+
ext {
26+
jacksonVersion = '2.14.2'
27+
}
28+
2529
dependencies {
2630
// JUnit setup for testing
2731
testImplementation(platform("org.junit:junit-bom:5.9.2"))
2832
testImplementation 'org.junit.jupiter:junit-jupiter-api'
2933
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
3034
// JSON object mapping / (de-)serialization
31-
implementation 'com.fasterxml.jackson.core:jackson-databind:2.14.1'
32-
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.14.1'
35+
implementation "com.fasterxml.jackson.core:jackson-databind:${jacksonVersion}"
36+
implementation "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:${jacksonVersion}"
3337
// http client
3438
implementation group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.5.14'
3539
// common file system operations

0 commit comments

Comments
 (0)