Skip to content

Commit 9cad707

Browse files
Merge pull request #7 from embulk/embulk/update-jackson
Upgrade Jackson to 2.16.2
2 parents 58f7be7 + 13982ce commit 9cad707

File tree

4 files changed

+62
-14
lines changed

4 files changed

+62
-14
lines changed

build.gradle

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,16 @@ java {
3232
}
3333

3434
dependencies {
35-
compileOnly "org.embulk:embulk-spi:0.11"
36-
implementation "org.embulk:embulk-util-config:0.5.0"
37-
implementation "org.embulk:embulk-util-file:0.2.0"
38-
// compile "YOUR_JAR_DEPENDENCY_GROUP:YOUR_JAR_DEPENDENCY_MODULE:YOUR_JAR_DEPENDENCY_VERSION"
39-
40-
testImplementation "junit:junit:4.13.2"
41-
testImplementation "org.embulk:embulk-core:0.11.3"
42-
testImplementation "org.embulk:embulk-deps:0.11.3"
43-
testImplementation "org.embulk:embulk-junit4:0.11.3"
35+
compileOnly libs.embulk.spi
36+
implementation libs.embulk.util.config
37+
implementation libs.embulk.util.file
38+
implementation platform(libs.jackson.bom)
39+
implementation libs.bundles.jackson
40+
41+
testImplementation libs.junit4
42+
testImplementation libs.embulk.core
43+
testImplementation libs.embulk.deps
44+
testImplementation libs.embulk.junit4
4445
}
4546

4647
embulkPlugin {

gradle.lockfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# This is a Gradle generated file for dependency locking.
22
# Manual edits can break the build and are not advised.
33
# This file is expected to be part of source control.
4-
com.fasterxml.jackson.core:jackson-annotations:2.15.4=compileClasspath,runtimeClasspath
5-
com.fasterxml.jackson.core:jackson-core:2.15.4=compileClasspath,runtimeClasspath
6-
com.fasterxml.jackson.core:jackson-databind:2.15.4=compileClasspath,runtimeClasspath
7-
com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.15.4=compileClasspath,runtimeClasspath
8-
com.fasterxml.jackson:jackson-bom:2.15.4=compileClasspath,runtimeClasspath
4+
com.fasterxml.jackson.core:jackson-annotations:2.16.2=compileClasspath,runtimeClasspath
5+
com.fasterxml.jackson.core:jackson-core:2.16.2=compileClasspath,runtimeClasspath
6+
com.fasterxml.jackson.core:jackson-databind:2.16.2=compileClasspath,runtimeClasspath
7+
com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.16.2=compileClasspath,runtimeClasspath
8+
com.fasterxml.jackson:jackson-bom:2.16.2=compileClasspath,runtimeClasspath
99
javax.validation:validation-api:2.0.1.Final=compileClasspath,runtimeClasspath
1010
org.embulk:embulk-spi:0.11=compileClasspath
1111
org.embulk:embulk-util-config:0.5.0=compileClasspath,runtimeClasspath

gradle/libs.versions.toml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
[versions]
2+
3+
gradle-embulk-plugins = "0.7.0"
4+
5+
embulk-core = "0.11.3"
6+
embulk-spi = "0.11"
7+
embulk-util-config = "0.5.0"
8+
embulk-util-file = "0.2.0"
9+
10+
# See https://github.com/FasterXML/jackson/wiki/Jackson-Releases for Jackson versions.
11+
#
12+
# We choose Jackson with the latest patch release of the latest open branch.
13+
jackson = "2.16.2"
14+
15+
junit4 = "4.13.2"
16+
17+
[libraries]
18+
19+
embulk-core = { group = "org.embulk", name = "embulk-core", version.ref = "embulk-core" }
20+
embulk-deps = { group = "org.embulk", name = "embulk-deps", version.ref = "embulk-core" }
21+
embulk-junit4 = { group = "org.embulk", name = "embulk-junit4", version.ref = "embulk-core" }
22+
embulk-spi = { group = "org.embulk", name = "embulk-spi", version.ref = "embulk-spi" }
23+
embulk-util-config = { group = "org.embulk", name = "embulk-util-config", version.ref = "embulk-util-config" }
24+
embulk-util-file = { group = "org.embulk", name = "embulk-util-file", version.ref = "embulk-util-file" }
25+
jackson-annotations = { group = "com.fasterxml.jackson.core", name = "jackson-annotations" }
26+
jackson-bom = { group = "com.fasterxml.jackson", name = "jackson-bom", version.ref = "jackson" }
27+
jackson-core = { group = "com.fasterxml.jackson.core", name = "jackson-core" }
28+
jackson-databind = { group = "com.fasterxml.jackson.core", name = "jackson-databind" }
29+
jackson-datatype-jdk8 = { group = "com.fasterxml.jackson.datatype", name = "jackson-datatype-jdk8" }
30+
junit4 = { group = "junit", name = "junit", version.ref = "junit4" }
31+
32+
[bundles]
33+
34+
jackson = [
35+
"jackson-annotations",
36+
"jackson-core",
37+
"jackson-databind",
38+
"jackson-datatype-jdk8",
39+
]
40+
41+
[plugins]
42+
43+
gradle-embulk-plugins = { id = "org.embulk.embulk-plugins", version.ref = "gradle-embulk-plugins" }

settings-gradle.lockfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# This is a Gradle generated file for dependency locking.
2+
# Manual edits can break the build and are not advised.
3+
# This file is expected to be part of source control.
4+
empty=incomingCatalogForLibs0

0 commit comments

Comments
 (0)