Align buildSrc's Framework version with the main build's version

Closes gh-35224
This commit is contained in:
Andy Wilkinson 2023-05-02 08:59:58 +01:00
parent d0a354352d
commit 695e58f418
3 changed files with 4 additions and 2 deletions

View File

@ -18,13 +18,14 @@ ext {
def properties = new Properties()
properties.load(it)
set("kotlinVersion", properties["kotlinVersion"])
set("springFrameworkVersion", properties["springFrameworkVersion"])
}
}
dependencies {
checkstyle "io.spring.javaformat:spring-javaformat-checkstyle:${javaFormatVersion}"
implementation(platform("org.springframework:spring-framework-bom:5.3.15"))
implementation(platform("org.springframework:spring-framework-bom:${springFrameworkVersion}"))
implementation("com.fasterxml.jackson.core:jackson-databind:2.11.4")
implementation("com.gradle:gradle-enterprise-gradle-plugin:3.12.1")
implementation("com.tngtech.archunit:archunit:1.0.0")

View File

@ -5,6 +5,7 @@ org.gradle.parallel=true
org.gradle.jvmargs=-Xmx2g -Dfile.encoding=UTF-8
kotlinVersion=1.6.21
springFrameworkVersion=5.3.27
tomcatVersion=9.0.74
kotlin.stdlib.default.dependency=false

View File

@ -1750,7 +1750,7 @@ bom {
]
}
}
library("Spring Framework", "5.3.27") {
library("Spring Framework", "${springFrameworkVersion}") {
prohibit {
versionRange "[6.0.0-M1,)"
because "we upgrade in Spring Boot 3.x"