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

Closes gh-35224
pull/35401/head
Andy Wilkinson 2 years ago
parent d0a354352d
commit 695e58f418

@ -18,13 +18,14 @@ ext {
def properties = new Properties() def properties = new Properties()
properties.load(it) properties.load(it)
set("kotlinVersion", properties["kotlinVersion"]) set("kotlinVersion", properties["kotlinVersion"])
set("springFrameworkVersion", properties["springFrameworkVersion"])
} }
} }
dependencies { dependencies {
checkstyle "io.spring.javaformat:spring-javaformat-checkstyle:${javaFormatVersion}" 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.fasterxml.jackson.core:jackson-databind:2.11.4")
implementation("com.gradle:gradle-enterprise-gradle-plugin:3.12.1") implementation("com.gradle:gradle-enterprise-gradle-plugin:3.12.1")
implementation("com.tngtech.archunit:archunit:1.0.0") implementation("com.tngtech.archunit:archunit:1.0.0")

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

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

Loading…
Cancel
Save