Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade Jackson to 2.16.2 #14

Merged
merged 2 commits into from
May 9, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 11 additions & 9 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ plugins {
id "java"
id "maven-publish"
id "signing"
id "org.embulk.embulk-plugins" version "0.7.0"
alias(libs.plugins.gradle.embulk.plugins)
}
repositories {
mavenCentral()
Expand Down Expand Up @@ -32,14 +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"

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
15 changes: 15 additions & 0 deletions gradle.lockfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# 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.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
org.embulk:embulk-util-file:0.2.0=compileClasspath,runtimeClasspath
org.msgpack:msgpack-core:0.8.24=compileClasspath
org.slf4j:slf4j-api:2.0.7=compileClasspath
empty=
50 changes: 50 additions & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
[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"

slf4j-api = "2.0.7"

validation-api = "2.0.1.Final"

# 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"


Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change

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" }
slf4j = { group = "org.slf4j", name = "slf4j-api", version.ref = "slf4j-api" }
validation = { group = "javax.validation", name = "validation-api", version.ref = "validation-api" }

[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
Loading