Use enforcedPlatform to ensure use of Boot and Cloud's managed versions

Closes gh-207
This commit is contained in:
Andy Wilkinson
2024-03-20 10:35:17 +00:00
parent bc0aedd253
commit 9efd87bf37
120 changed files with 134 additions and 134 deletions

View File

@@ -6,8 +6,8 @@ plugins {
}
dependencies {
implementation(platform(org.springframework.boot.gradle.plugin.SpringBootPlugin.BOM_COORDINATES))
implementation(platform("org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"))
implementation(enforcedPlatform(org.springframework.boot.gradle.plugin.SpringBootPlugin.BOM_COORDINATES))
implementation(enforcedPlatform("org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"))
implementation("org.springframework.boot:spring-boot-starter")
implementation("org.springframework.cloud:spring-cloud-starter-function-web")