mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Align buildSrc's Framework version with the main build's version
Closes gh-35224
This commit is contained in:
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…
Reference in New Issue
Block a user