diff --git a/gradle.properties b/gradle.properties index f7692dece05..b04f406e401 100644 --- a/gradle.properties +++ b/gradle.properties @@ -15,6 +15,7 @@ kotlinVersion=1.9.24 mavenVersion=3.9.4 nativeBuildToolsVersion=0.10.2 springFrameworkVersion=6.1.8 +springFramework60xVersion=6.0.21 tomcatVersion=10.1.24 snakeYamlVersion=2.2 diff --git a/spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/build.gradle b/spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/build.gradle index b99a4c61c3e..9d6d8c1268d 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/build.gradle +++ b/spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/build.gradle @@ -17,7 +17,7 @@ configurations.all { // Downgrade Spring Framework as Gradle cannot cope with 6.1.0-M1's // multi-version jar files with bytecode in META-INF/versions/21 if (dependency.requested.group.equals("org.springframework")) { - dependency.useVersion("6.0.10") + dependency.useVersion("$springFramework60xVersion") } } } diff --git a/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/build.gradle b/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/build.gradle index 9f324c0b60e..ff5bb2bc585 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/build.gradle +++ b/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/build.gradle @@ -53,7 +53,7 @@ configurations { // Downgrade Spring Framework as Gradle cannot cope with 6.1.0-M1's // multi-version jar files with bytecode in META-INF/versions/21 if (dependency.requested.group.equals("org.springframework")) { - dependency.useVersion("6.0.10") + dependency.useVersion("$springFramework60xVersion") } } } diff --git a/spring-boot-project/spring-boot-tools/spring-boot-loader-tools/build.gradle b/spring-boot-project/spring-boot-tools/spring-boot-loader-tools/build.gradle index c2e3330517d..4033e3e8a0f 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-loader-tools/build.gradle +++ b/spring-boot-project/spring-boot-tools/spring-boot-loader-tools/build.gradle @@ -27,7 +27,7 @@ configurations { // Downgrade Spring Framework as Gradle cannot cope with 6.1.0-M1's // multi-version jar files with bytecode in META-INF/versions/21 if (dependency.requested.group.equals("org.springframework")) { - dependency.useVersion("6.0.10") + dependency.useVersion("$springFramework60xVersion") } } } diff --git a/spring-boot-system-tests/spring-boot-image-tests/build.gradle b/spring-boot-system-tests/spring-boot-image-tests/build.gradle index e4236f1b82f..40cd4ee6016 100644 --- a/spring-boot-system-tests/spring-boot-image-tests/build.gradle +++ b/spring-boot-system-tests/spring-boot-image-tests/build.gradle @@ -22,7 +22,7 @@ configurations { // Downgrade Spring Framework as Gradle cannot cope with 6.1.0-M1's // multi-version jar files with bytecode in META-INF/versions/21 if (dependency.requested.group.equals("org.springframework")) { - dependency.useVersion("6.0.10") + dependency.useVersion("$springFramework60xVersion") } } }