Skip to content

Commit 695e58f

Browse files
committed
Align buildSrc's Framework version with the main build's version
Closes gh-35224
1 parent d0a3543 commit 695e58f

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

buildSrc/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,14 @@ ext {
1818
def properties = new Properties()
1919
properties.load(it)
2020
set("kotlinVersion", properties["kotlinVersion"])
21+
set("springFrameworkVersion", properties["springFrameworkVersion"])
2122
}
2223
}
2324

2425
dependencies {
2526
checkstyle "io.spring.javaformat:spring-javaformat-checkstyle:${javaFormatVersion}"
2627

27-
implementation(platform("org.springframework:spring-framework-bom:5.3.15"))
28+
implementation(platform("org.springframework:spring-framework-bom:${springFrameworkVersion}"))
2829
implementation("com.fasterxml.jackson.core:jackson-databind:2.11.4")
2930
implementation("com.gradle:gradle-enterprise-gradle-plugin:3.12.1")
3031
implementation("com.tngtech.archunit:archunit:1.0.0")

gradle.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ org.gradle.parallel=true
55
org.gradle.jvmargs=-Xmx2g -Dfile.encoding=UTF-8
66

77
kotlinVersion=1.6.21
8+
springFrameworkVersion=5.3.27
89
tomcatVersion=9.0.74
910

1011
kotlin.stdlib.default.dependency=false

spring-boot-project/spring-boot-dependencies/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1750,7 +1750,7 @@ bom {
17501750
]
17511751
}
17521752
}
1753-
library("Spring Framework", "5.3.27") {
1753+
library("Spring Framework", "${springFrameworkVersion}") {
17541754
prohibit {
17551755
versionRange "[6.0.0-M1,)"
17561756
because "we upgrade in Spring Boot 3.x"

0 commit comments

Comments
 (0)