forked from reactor/reactor-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use Gradle's VersionCatalog for dependencies in a single place (react…
…or#2853) This PR enables the usage of Gradle 7 Version Catalog. The TOML file is used, in a way that _should_ be compatible with RenovateBot. The versions contain: - a set of `baseline` versions (replaces equivalents in gradle.properties) - direct versions which are used in several places The remaining versions are directly defined inline in the libraries and plugins sections. In addition, the compatibility of the various syntaxes used for versions/version references with Renovate Bot has been separately validated. Renovate now detects the Kotlin version used and we pin it to 1.5.x updates only.
- Loading branch information
1 parent
897e1d3
commit 4926eb7
Showing
11 changed files
with
179 additions
and
121 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
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,26 @@ | ||
/* | ||
* Copyright (c) 2021 VMware Inc. or its affiliates, All Rights Reserved. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* https://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
enableFeaturePreview("VERSION_CATALOGS") | ||
|
||
//import the catalog from main project | ||
dependencyResolutionManagement { | ||
versionCatalogs { | ||
libs { | ||
from(files("../gradle/libs.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,2 @@ | ||
micrometerVersion=1.3.0 | ||
version=3.4.14-SNAPSHOT | ||
reactiveStreamsVersion=1.0.3 | ||
compatibleVersion=3.4.13 | ||
bomVersion=2020.0.14 | ||
perfBaselineVersion=3.4.13 | ||
bomVersion=2020.0.14 |
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,53 @@ | ||
[versions] | ||
# Baselines, should be updated on every release | ||
baseline-core-api = "3.4.13" | ||
baselinePerfCore = "3.4.13" | ||
baselinePerfExtra = "3.3.8.RELEASE" | ||
|
||
# Other shared versions | ||
asciidoctor = "3.3.2" | ||
bytebuddy = "1.12.6" | ||
jmh = "1.34" | ||
junit = "5.8.2" | ||
kotlin = "1.5.31" | ||
reactiveStreams = "1.0.3" | ||
|
||
[libraries] | ||
archUnit = "com.tngtech.archunit:archunit:0.22.0" | ||
assertj = "org.assertj:assertj-core:3.22.0" | ||
awaitility = "org.awaitility:awaitility:4.1.1" | ||
blockhound = "io.projectreactor.tools:blockhound:1.0.6.RELEASE" | ||
byteBuddy-agent = { module = "net.bytebuddy:byte-buddy-agent", version.ref = "bytebuddy" } | ||
byteBuddy-api = { module = "net.bytebuddy:byte-buddy", version.ref = "bytebuddy" } | ||
cglib = "cglib:cglib:3.3.0" | ||
javaObjectLayout = "org.openjdk.jol:jol-core:0.16" | ||
jmh-annotations-processor = { module = "org.openjdk.jmh:jmh-generator-annprocess", version.ref = "jmh" } | ||
jmh-core = { module = "org.openjdk.jmh:jmh-core", version.ref = "jmh" } | ||
jsr166backport = "io.projectreactor:jsr166:1.0.0.RELEASE" | ||
jsr305 = "com.google.code.findbugs:jsr305:3.0.1" | ||
junit-bom = { module = "org.junit:junit-bom", version.ref = "junit" } | ||
kotlin-stdlib = { module = "org.jetbrains.kotlin:kotlin-stdlib", version.ref = "kotlin" } | ||
logback = "ch.qos.logback:logback-classic:1.2.10" | ||
micrometer = "io.micrometer:micrometer-core:1.3.0" | ||
mockito = "org.mockito:mockito-core:4.2.0" | ||
reactiveStreams = { module = "org.reactivestreams:reactive-streams", version.ref = "reactiveStreams" } | ||
reactiveStreams-tck = { module = "org.reactivestreams:reactive-streams-tck", version.ref = "reactiveStreams" } | ||
reactor-perfBaseline-core = { module = "io.projectreactor:reactor-core", version.ref = "baselinePerfCore" } | ||
reactor-perfBaseline-extra = { module = "io.projectreactor.addons:reactor-extra", version.ref = "baselinePerfExtra" } | ||
slf4j = "org.slf4j:slf4j-api:1.7.32" | ||
testNg = "org.testng:testng:7.4.0" | ||
throwingFunction = "com.pivovarit:throwing-function:1.5.1" | ||
|
||
[plugins] | ||
artifactory = { id = "com.jfrog.artifactory", version = "4.25.5" } | ||
asciidoctor-convert = { id = "org.asciidoctor.jvm.convert", version.ref = "asciidoctor" } | ||
asciidoctor-pdf = { id = "org.asciidoctor.jvm.pdf", version.ref = "asciidoctor" } | ||
bnd = { id = "biz.aQute.bnd.builder", version = "6.1.0" } | ||
download = { id = "de.undercouch.download", version = "4.1.2" } | ||
japicmp = { id = "me.champeau.gradle.japicmp", version = "0.3.0" } | ||
jcstress = { id = "io.github.reyerizo.gradle.jcstress", version = "0.8.13" } | ||
kotlin = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" } | ||
nohttp = { id = "io.spring.nohttp", version = "0.0.10" } | ||
shadow = { id = "com.github.johnrengelman.shadow", version = "7.1.2" } | ||
spotless = { id = "com.diffplug.spotless", version = "6.1.0" } | ||
testsets = { id = "org.unbroken-dome.test-sets", version = "4.0.0" } |
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
Oops, something went wrong.