diff --git a/buildSrc/build.gradle b/buildSrc/build.gradle index 84fdeab16a..31170816f0 100644 --- a/buildSrc/build.gradle +++ b/buildSrc/build.gradle @@ -19,13 +19,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.diffplug.gradle:goomph:3.37.2") implementation("com.fasterxml.jackson.core:jackson-databind:2.11.4") implementation("com.gradle:gradle-enterprise-gradle-plugin:3.12.1") diff --git a/gradle.properties b/gradle.properties index 0577bb59d4..6122c6fe60 100644 --- a/gradle.properties +++ b/gradle.properties @@ -5,7 +5,8 @@ org.gradle.parallel=true org.gradle.jvmargs=-Xmx2g -Dfile.encoding=UTF-8 kotlinVersion=1.8.20 -tomcatVersion=10.1.8 nativeBuildToolsVersion=0.9.21 +springFrameworkVersion=6.0.8 +tomcatVersion=10.1.8 kotlin.stdlib.default.dependency=false diff --git a/spring-boot-project/spring-boot-dependencies/build.gradle b/spring-boot-project/spring-boot-dependencies/build.gradle index 23674a6baf..702bcf5f23 100644 --- a/spring-boot-project/spring-boot-dependencies/build.gradle +++ b/spring-boot-project/spring-boot-dependencies/build.gradle @@ -1414,7 +1414,7 @@ bom { ] } } - library("Spring Framework", "6.0.8") { + library("Spring Framework", "${springFrameworkVersion}") { group("org.springframework") { imports = [ "spring-framework-bom"