Skip to content

Commit

Permalink
Upgrade Jackson to 2.15.4 as required, and 2.16.2 as preferred
Browse files Browse the repository at this point in the history
  • Loading branch information
dmikurube committed Apr 15, 2024
1 parent de98bce commit 1e3f5c6
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
fail-fast: false
matrix:
jacksonVersion: [ "2.15.3", "2.15.4", "2.16.2", "2.17.0" ]
jacksonVersion: [ "2.15.4", "2.16.2", "2.17.0" ]
steps:
- uses: actions/checkout@v4
- name: Set up OpenJDK 8
Expand Down
10 changes: 9 additions & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,15 @@
embulk-spi = "0.11"
msgpack = "0.8.24"

jackson = "2.15.3"
# See https://github.com/FasterXML/jackson/wiki/Jackson-Releases for Jackson versions.
#
# We choose Jackson versions :
# - require: the latest patch release of the oldest (non-nominally) open branch
# - prefer: the latest patch release of the latest open branch
#
# It has required at least Jackson 2.15.3, especially since embulk-util-config 0.4.0.
# It is to align with the restriction of embulk-util-json: https://github.com/embulk/embulk-util-json/pull/37
jackson = { require = "2.15.4", prefer = "2.16.2" }

junit5 = "5.9.3"
embulk-core = "0.11.1"
Expand Down
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ rootProject.name = "embulk-util-json"
dependencyResolutionManagement {
versionCatalogs {
testLibs {
def jacksonVersion = version("jackson", providers.gradleProperty("jacksonVersionForJacksonTest").getOrElse("2.15.3"))
def jacksonVersion = version("jackson", providers.gradleProperty("jacksonVersionForJacksonTest").getOrElse("2.15.4"))

library("jackson-bom", "com.fasterxml.jackson", "jackson-bom").versionRef(jacksonVersion)

Expand Down

0 comments on commit 1e3f5c6

Please sign in to comment.