-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Start using Gradle's version catalog
- Loading branch information
Showing
4 changed files
with
75 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
[versions] | ||
embulk-spi = "0.11" | ||
slf4j-api = "2.0.7" | ||
validation-api = "1.1.0.Final" | ||
jackson = { strictly = "[2.15.3,3[", prefer = "2.15.3" } | ||
junit5 = "5.10.0" | ||
|
||
[libraries] | ||
embulk-spi = { group = "org.embulk", name = "embulk-spi", version.ref = "embulk-spi" } | ||
slf4j-api = { group = "org.slf4j", name = "slf4j-api", version.ref = "slf4j-api" } | ||
validation-api = { group = "javax.validation", name = "validation-api", version.ref = "validation-api" } | ||
jackson-bom = { group = "com.fasterxml.jackson", name = "jackson-bom", version.ref = "jackson" } | ||
jackson-annotations = { group = "com.fasterxml.jackson.core", name = "jackson-annotations" } | ||
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" } | ||
junit5-bom = { group = "org.junit", name = "junit-bom", version.ref = "junit5" } | ||
junit5-api = { group = "org.junit.jupiter", name = "junit-jupiter-api" } | ||
junit5-params = { group = "org.junit.jupiter", name = "junit-jupiter-params" } | ||
junit5-engine = { group = "org.junit.jupiter", name = "junit-jupiter-engine" } | ||
|
||
[bundles] | ||
|
||
jackson = [ | ||
"jackson-annotations", | ||
"jackson-core", | ||
"jackson-databind", | ||
"jackson-datatype-jdk8", | ||
] | ||
|
||
junit5-implementation = [ | ||
"junit5-api", | ||
"junit5-params", | ||
] | ||
|
||
junit5-runtime = [ | ||
"junit5-engine", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,20 @@ | ||
rootProject.name = "embulk-util-config" | ||
|
||
dependencyResolutionManagement { | ||
versionCatalogs { | ||
testLibs { | ||
def jacksonVersion = version("jackson", providers.gradleProperty("jacksonVersionForJacksonTest").getOrElse("2.15.3")) | ||
|
||
library("jackson-bom", "com.fasterxml.jackson", "jackson-bom").versionRef(jacksonVersion) | ||
|
||
library("jackson-annotations", "com.fasterxml.jackson.core", "jackson-annotations").withoutVersion() | ||
library("jackson-core", "com.fasterxml.jackson.core", "jackson-core").withoutVersion() | ||
library("jackson-databind", "com.fasterxml.jackson.core", "jackson-databind").withoutVersion() | ||
|
||
// Required for java.util.Optional. | ||
library("jackson-datatype-jdk8", "com.fasterxml.jackson.datatype", "jackson-datatype-jdk8").withoutVersion() | ||
|
||
bundle("jackson", [ "jackson-annotations", "jackson-core", "jackson-databind", "jackson-datatype-jdk8" ]) | ||
} | ||
} | ||
} |