Skip to content

Commit

Permalink
Merge pull request #7 from embulk/embulk/update-jackson
Browse files Browse the repository at this point in the history
Upgrade Jackson to 2.16.2
  • Loading branch information
hiroyuki-sato authored May 13, 2024
2 parents 58f7be7 + 13982ce commit 9cad707
Show file tree
Hide file tree
Showing 4 changed files with 62 additions and 14 deletions.
19 changes: 10 additions & 9 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,16 @@ java {
}

dependencies {
compileOnly "org.embulk:embulk-spi:0.11"
implementation "org.embulk:embulk-util-config:0.5.0"
implementation "org.embulk:embulk-util-file:0.2.0"
// compile "YOUR_JAR_DEPENDENCY_GROUP:YOUR_JAR_DEPENDENCY_MODULE:YOUR_JAR_DEPENDENCY_VERSION"

testImplementation "junit:junit:4.13.2"
testImplementation "org.embulk:embulk-core:0.11.3"
testImplementation "org.embulk:embulk-deps:0.11.3"
testImplementation "org.embulk:embulk-junit4:0.11.3"
compileOnly libs.embulk.spi
implementation libs.embulk.util.config
implementation libs.embulk.util.file
implementation platform(libs.jackson.bom)
implementation libs.bundles.jackson

testImplementation libs.junit4
testImplementation libs.embulk.core
testImplementation libs.embulk.deps
testImplementation libs.embulk.junit4
}

embulkPlugin {
Expand Down
10 changes: 5 additions & 5 deletions gradle.lockfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# This is a Gradle generated file for dependency locking.
# Manual edits can break the build and are not advised.
# This file is expected to be part of source control.
com.fasterxml.jackson.core:jackson-annotations:2.15.4=compileClasspath,runtimeClasspath
com.fasterxml.jackson.core:jackson-core:2.15.4=compileClasspath,runtimeClasspath
com.fasterxml.jackson.core:jackson-databind:2.15.4=compileClasspath,runtimeClasspath
com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.15.4=compileClasspath,runtimeClasspath
com.fasterxml.jackson:jackson-bom:2.15.4=compileClasspath,runtimeClasspath
com.fasterxml.jackson.core:jackson-annotations:2.16.2=compileClasspath,runtimeClasspath
com.fasterxml.jackson.core:jackson-core:2.16.2=compileClasspath,runtimeClasspath
com.fasterxml.jackson.core:jackson-databind:2.16.2=compileClasspath,runtimeClasspath
com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.16.2=compileClasspath,runtimeClasspath
com.fasterxml.jackson:jackson-bom:2.16.2=compileClasspath,runtimeClasspath
javax.validation:validation-api:2.0.1.Final=compileClasspath,runtimeClasspath
org.embulk:embulk-spi:0.11=compileClasspath
org.embulk:embulk-util-config:0.5.0=compileClasspath,runtimeClasspath
Expand Down
43 changes: 43 additions & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
[versions]

gradle-embulk-plugins = "0.7.0"

embulk-core = "0.11.3"
embulk-spi = "0.11"
embulk-util-config = "0.5.0"
embulk-util-file = "0.2.0"

# See https://github.com/FasterXML/jackson/wiki/Jackson-Releases for Jackson versions.
#
# We choose Jackson with the latest patch release of the latest open branch.
jackson = "2.16.2"

junit4 = "4.13.2"

[libraries]

embulk-core = { group = "org.embulk", name = "embulk-core", version.ref = "embulk-core" }
embulk-deps = { group = "org.embulk", name = "embulk-deps", version.ref = "embulk-core" }
embulk-junit4 = { group = "org.embulk", name = "embulk-junit4", version.ref = "embulk-core" }
embulk-spi = { group = "org.embulk", name = "embulk-spi", version.ref = "embulk-spi" }
embulk-util-config = { group = "org.embulk", name = "embulk-util-config", version.ref = "embulk-util-config" }
embulk-util-file = { group = "org.embulk", name = "embulk-util-file", version.ref = "embulk-util-file" }
jackson-annotations = { group = "com.fasterxml.jackson.core", name = "jackson-annotations" }
jackson-bom = { group = "com.fasterxml.jackson", name = "jackson-bom", version.ref = "jackson" }
jackson-core = { group = "com.fasterxml.jackson.core", name = "jackson-core" }
jackson-databind = { group = "com.fasterxml.jackson.core", name = "jackson-databind" }
jackson-datatype-jdk8 = { group = "com.fasterxml.jackson.datatype", name = "jackson-datatype-jdk8" }
junit4 = { group = "junit", name = "junit", version.ref = "junit4" }

[bundles]

jackson = [
"jackson-annotations",
"jackson-core",
"jackson-databind",
"jackson-datatype-jdk8",
]

[plugins]

gradle-embulk-plugins = { id = "org.embulk.embulk-plugins", version.ref = "gradle-embulk-plugins" }
4 changes: 4 additions & 0 deletions settings-gradle.lockfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# This is a Gradle generated file for dependency locking.
# Manual edits can break the build and are not advised.
# This file is expected to be part of source control.
empty=incomingCatalogForLibs0

0 comments on commit 9cad707

Please sign in to comment.