-
Notifications
You must be signed in to change notification settings - Fork 24.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Port build dependencies to gradle version catalogue (#86548)
We introduce the use of a Gradle version catalogue for handling build related dependencies. This provides type safe accessors for dependencies and allow centralised version definitions. Later we want to move all our dependency handling to version catalogues. Since this is a Gradle feature we remove long term maintenance cost for custom version handling in our build and make centralised version handling more straight forward and support better tooling based on version catalogues Fixes asm version alignment on the way using 9.3 everywhere in our build logic.
- Loading branch information
Showing
7 changed files
with
128 additions
and
65 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
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,7 @@ | ||
dependencyResolutionManagement { | ||
versionCatalogs { | ||
buildLibs { | ||
from(files("../gradle/build.versions.toml")) | ||
} | ||
} | ||
} |
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
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,42 @@ | ||
[versions] | ||
asm = "9.3" | ||
jackson = "2.13.2" | ||
junit5 = "5.8.1" | ||
spock = "2.1-groovy-3.0" | ||
|
||
[libraries] | ||
ant = "org.apache.ant:ant:1.10.8" | ||
apache-compress = "org.apache.commons:commons-compress:1.21" | ||
apache-rat = "org.apache.rat:apache-rat:0.11" | ||
asm = { group = "org.ow2.asm", name="asm", version.ref="asm" } | ||
asm-tree = { group = "org.ow2.asm", name="asm-tree", version.ref="asm" } | ||
bytebuddy = "net.bytebuddy:byte-buddy:1.12.9" | ||
checkstyle = "com.puppycrawl.tools:checkstyle:9.3" | ||
commons-codec = "commons-codec:commons-codec:1.11" | ||
commmons-io = "commons-io:commons-io:2.2" | ||
docker-compose = "com.avast.gradle:gradle-docker-compose-plugin:0.14.13" | ||
forbiddenApis = "de.thetaphi:forbiddenapis:3.2" | ||
hamcrest = "org.hamcrest:hamcrest:2.1" | ||
httpcore = "org.apache.httpcomponents:httpcore:4.4.12" | ||
httpclient = "org.apache.httpcomponents:httpclient:4.5.10" | ||
idea-ext = "gradle.plugin.org.jetbrains.gradle.plugin.idea-ext:gradle-idea-ext:1.1.1" | ||
json-schema-validator = "com.networknt:json-schema-validator:1.0.49" | ||
jackson-dataformat-yaml = { group = "com.fasterxml.jackson.dataformat", name="jackson-dataformat-yaml", version.ref="jackson" } | ||
jackson-platform = { group = "com.fasterxml.jackson", name="jackson-bom", version.ref="jackson" } | ||
jna = "net.java.dev.jna:jna:5.10.0" | ||
junit = "junit:junit:4.12" | ||
junit5-platform = { group = "org.junit", name="junit-bom", version.ref="junit5" } | ||
junit5-jupiter = { group = "org.junit.jupiter", name="junit-jupiter", version.ref="junit5" } | ||
junit5-platform-launcher = "org.junit.platform:junit-platform-launcher:1.8.0" | ||
junit5-vintage = { group = "org.junit.vintage", name="junit-vintage-engine", version.ref="junit5" } | ||
maven-model = "org.apache.maven:maven-model:3.6.2" | ||
mockito-core = "org.mockito:mockito-core:1.9.5" | ||
nebula-info = "com.netflix.nebula:gradle-info-plugin:11.3.3" | ||
randomized-runner = "com.carrotsearch.randomizedtesting:randomizedtesting-runner:2.7.7" | ||
shadow-plugin = "gradle.plugin.com.github.johnrengelman:shadow:7.1.2" | ||
spock-core = { group = "org.spockframework", name="spock-core", version.ref="spock" } | ||
spock-junit4 = { group = "org.spockframework", name="spock-junit4", version.ref="spock" } | ||
spock-platform = { group = "org.spockframework", name="spock-bom", version.ref="spock" } | ||
spotless-plugin = "com.diffplug.spotless:spotless-plugin-gradle:6.5.2" | ||
wiremock = "com.github.tomakehurst:wiremock-jre8-standalone:2.23.2" | ||
xmlunit-core = "org.xmlunit:xmlunit-core:2.8.2" |