Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Commit

Permalink
Upgrade jackson-annotations (#232)
Browse files Browse the repository at this point in the history
* Upgrade jackson-annotations to 2.14.2

* Move dependencies to version catalog

* Extract versions of dependencies versioned together
  • Loading branch information
Philip Müller authored Jun 19, 2023
1 parent 33ba847 commit 62bae37
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 14 deletions.
10 changes: 5 additions & 5 deletions api/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ apply plugin: 'java-library'
apply plugin: "com.vanniktech.maven.publish"

dependencies {
implementation 'com.fasterxml.jackson.core:jackson-annotations:2.9.0'
compileOnly 'org.projectlombok:lombok:1.18.24'
annotationProcessor 'org.projectlombok:lombok:1.18.24'
implementation libs.jacksoAnnotations
compileOnly libs.lombok
annotationProcessor libs.lombok

testImplementation 'com.fasterxml.jackson.core:jackson-databind:2.14.2'
testImplementation(platform('org.junit:junit-bom:5.8.2'))
testImplementation libs.jacksonDatabind
testImplementation(platform(libs.junitBom))
testImplementation('org.junit.jupiter:junit-jupiter')
}

Expand Down
8 changes: 4 additions & 4 deletions client/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ apply plugin: "com.vanniktech.maven.publish"

dependencies {
api project(":api")
api 'com.squareup.retrofit2:retrofit:2.9.0'
api 'com.squareup.retrofit2:adapter-rxjava2:2.9.0'
implementation 'com.squareup.retrofit2:converter-jackson:2.9.0'
api libs.retrofit
api libs.retrofitRxJava2
implementation libs.retrofitJackson

testImplementation(platform('org.junit:junit-bom:5.8.2'))
testImplementation(platform(libs.junitBom))
testImplementation('org.junit.jupiter:junit-jupiter')
}

Expand Down
13 changes: 13 additions & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[versions]
jackson = "2.14.2"
retrofit = "2.9.0"

[libraries]
jacksonDatabind = { module = "com.fasterxml.jackson.core:jackson-databind", version.ref = "jackson" }
jacksoAnnotations = { module = "com.fasterxml.jackson.core:jackson-annotations", version.ref = "jackson" }
lombok = { module = "org.projectlombok:lombok", version = "1.18.24" }
junitBom = { module = "org.junit:junit-bom", version = "5.8.2" }
retrofit = { module = "com.squareup.retrofit2:retrofit", version.ref = "retrofit" }
retrofitJackson = { module = "com.squareup.retrofit2:converter-jackson", version.ref = "retrofit" }
retrofitRxJava2 = { module = "com.squareup.retrofit2:adapter-rxjava2", version.ref = "retrofit" }
retrofitMock = { module = "com.squareup.retrofit2:retrofit-mock", version.ref = "retrofit" }
10 changes: 5 additions & 5 deletions service/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ apply plugin: "com.vanniktech.maven.publish"

dependencies {
api project(":client")
api 'com.squareup.retrofit2:retrofit:2.9.0'
implementation 'com.squareup.retrofit2:adapter-rxjava2:2.9.0'
implementation 'com.squareup.retrofit2:converter-jackson:2.9.0'
api libs.retrofit
implementation libs.retrofitRxJava2
implementation libs.retrofitJackson

testImplementation(platform('org.junit:junit-bom:5.8.2'))
testImplementation(platform(libs.junitBom))
testImplementation 'org.junit.jupiter:junit-jupiter'
testImplementation 'com.squareup.retrofit2:retrofit-mock:2.9.0'
testImplementation libs.retrofitMock
}

compileJava {
Expand Down

0 comments on commit 62bae37

Please sign in to comment.