From c0ef52da480fd32da8a71f0838d834dd83c51886 Mon Sep 17 00:00:00 2001 From: Gareth Clay Date: Thu, 13 Oct 2022 09:32:10 +0100 Subject: [PATCH] Remove enforcedPlatform dependency management Allowing consumer projects to apply their own version management --- spring-cloud-app-broker-acceptance-tests/build.gradle | 2 +- spring-cloud-app-broker-autoconfigure/build.gradle | 4 ++-- spring-cloud-app-broker-core/build.gradle | 2 +- spring-cloud-app-broker-deployer-cloudfoundry/build.gradle | 2 +- spring-cloud-app-broker-deployer/build.gradle | 2 +- spring-cloud-app-broker-docs/build.gradle | 2 +- spring-cloud-app-broker-integration-tests/build.gradle | 2 +- spring-cloud-app-broker-logging/build.gradle | 2 +- spring-cloud-app-broker-security-credhub/build.gradle | 2 +- 9 files changed, 10 insertions(+), 10 deletions(-) diff --git a/spring-cloud-app-broker-acceptance-tests/build.gradle b/spring-cloud-app-broker-acceptance-tests/build.gradle index 86ab446..ca29d77 100644 --- a/spring-cloud-app-broker-acceptance-tests/build.gradle +++ b/spring-cloud-app-broker-acceptance-tests/build.gradle @@ -21,7 +21,7 @@ plugins { description = "Spring Cloud App Broker Acceptance Tests" dependencies { - api enforcedPlatform("org.springframework.boot:spring-boot-dependencies:${springBootVersion}") + api platform("org.springframework.boot:spring-boot-dependencies:${springBootVersion}") api project(":spring-cloud-starter-app-broker-cloudfoundry") api "org.springframework.boot:spring-boot-starter-webflux" diff --git a/spring-cloud-app-broker-autoconfigure/build.gradle b/spring-cloud-app-broker-autoconfigure/build.gradle index 3fedeee..36d5e59 100644 --- a/spring-cloud-app-broker-autoconfigure/build.gradle +++ b/spring-cloud-app-broker-autoconfigure/build.gradle @@ -23,11 +23,11 @@ java { } dependencies { - annotationProcessor enforcedPlatform("org.springframework.boot:spring-boot-dependencies:${springBootVersion}") + annotationProcessor platform("org.springframework.boot:spring-boot-dependencies:${springBootVersion}") annotationProcessor "org.springframework.boot:spring-boot-configuration-processor" annotationProcessor "org.springframework.boot:spring-boot-autoconfigure-processor" - api enforcedPlatform("org.springframework.boot:spring-boot-dependencies:${springBootVersion}") + api platform("org.springframework.boot:spring-boot-dependencies:${springBootVersion}") api project(":spring-cloud-app-broker-core") api project(":spring-cloud-app-broker-deployer") api project(":spring-cloud-app-broker-deployer-cloudfoundry") diff --git a/spring-cloud-app-broker-core/build.gradle b/spring-cloud-app-broker-core/build.gradle index dfb5df8..c970161 100644 --- a/spring-cloud-app-broker-core/build.gradle +++ b/spring-cloud-app-broker-core/build.gradle @@ -20,7 +20,7 @@ dependencies { api project(":spring-cloud-app-broker-deployer") api "org.springframework.cloud:spring-cloud-open-service-broker-core:${openServiceBrokerVersion}" - api enforcedPlatform("org.springframework.boot:spring-boot-dependencies:${springBootVersion}") + api platform("org.springframework.boot:spring-boot-dependencies:${springBootVersion}") api "org.springframework:spring-core" api "org.springframework:spring-context" api "io.projectreactor:reactor-core" diff --git a/spring-cloud-app-broker-deployer-cloudfoundry/build.gradle b/spring-cloud-app-broker-deployer-cloudfoundry/build.gradle index 1d713a0..3f33180 100644 --- a/spring-cloud-app-broker-deployer-cloudfoundry/build.gradle +++ b/spring-cloud-app-broker-deployer-cloudfoundry/build.gradle @@ -17,7 +17,7 @@ description = "Spring Cloud App Broker Deployer Cloud Foundry" dependencies { - api enforcedPlatform("org.springframework.boot:spring-boot-dependencies:${springBootVersion}") + api platform("org.springframework.boot:spring-boot-dependencies:${springBootVersion}") api project(":spring-cloud-app-broker-deployer") api "org.cloudfoundry:cloudfoundry-client-reactor:${cfJavaClientVersion}" api "org.cloudfoundry:cloudfoundry-operations:${cfJavaClientVersion}" diff --git a/spring-cloud-app-broker-deployer/build.gradle b/spring-cloud-app-broker-deployer/build.gradle index 57233a2..d9a038b 100644 --- a/spring-cloud-app-broker-deployer/build.gradle +++ b/spring-cloud-app-broker-deployer/build.gradle @@ -17,7 +17,7 @@ description = "Spring Cloud App Broker Deployer" dependencies { - api enforcedPlatform("org.springframework.boot:spring-boot-dependencies:${springBootVersion}") + api platform("org.springframework.boot:spring-boot-dependencies:${springBootVersion}") api "org.springframework:spring-core" api "io.projectreactor:reactor-core" diff --git a/spring-cloud-app-broker-docs/build.gradle b/spring-cloud-app-broker-docs/build.gradle index 5f960d6..f7cd38f 100644 --- a/spring-cloud-app-broker-docs/build.gradle +++ b/spring-cloud-app-broker-docs/build.gradle @@ -26,7 +26,7 @@ configurations { } dependencies { - implementation enforcedPlatform("org.springframework.boot:spring-boot-dependencies:${springBootVersion}") + implementation platform("org.springframework.boot:spring-boot-dependencies:${springBootVersion}") implementation project(":spring-cloud-app-broker-core") implementation "org.springframework.boot:spring-boot-starter" implementation "org.springframework.boot:spring-boot-starter-data-r2dbc" diff --git a/spring-cloud-app-broker-integration-tests/build.gradle b/spring-cloud-app-broker-integration-tests/build.gradle index 4ebd5c3..e742bb4 100644 --- a/spring-cloud-app-broker-integration-tests/build.gradle +++ b/spring-cloud-app-broker-integration-tests/build.gradle @@ -21,7 +21,7 @@ plugins { description = "Spring Cloud App Broker Integration Tests" dependencies { - implementation enforcedPlatform("org.springframework.boot:spring-boot-dependencies:${springBootVersion}") + implementation platform("org.springframework.boot:spring-boot-dependencies:${springBootVersion}") implementation project(":spring-cloud-starter-app-broker-cloudfoundry") implementation "org.springframework.boot:spring-boot-starter-webflux" diff --git a/spring-cloud-app-broker-logging/build.gradle b/spring-cloud-app-broker-logging/build.gradle index de447a6..93d202b 100644 --- a/spring-cloud-app-broker-logging/build.gradle +++ b/spring-cloud-app-broker-logging/build.gradle @@ -17,7 +17,7 @@ description = "Spring Cloud App Broker Logging" dependencies { - api enforcedPlatform("org.springframework.boot:spring-boot-dependencies:${springBootVersion}") + api platform("org.springframework.boot:spring-boot-dependencies:${springBootVersion}") api "org.springframework.boot:spring-boot-starter-webflux" api "org.cloudfoundry:cloudfoundry-client-reactor:${cfJavaClientVersion}" api "org.cloudfoundry:cloudfoundry-operations:${cfJavaClientVersion}" diff --git a/spring-cloud-app-broker-security-credhub/build.gradle b/spring-cloud-app-broker-security-credhub/build.gradle index c84d27d..e1ab8ee 100644 --- a/spring-cloud-app-broker-security-credhub/build.gradle +++ b/spring-cloud-app-broker-security-credhub/build.gradle @@ -17,7 +17,7 @@ description = "Spring Cloud App Broker Security CredHub" dependencies { - api enforcedPlatform("org.springframework.boot:spring-boot-dependencies:${springBootVersion}") + api platform("org.springframework.boot:spring-boot-dependencies:${springBootVersion}") api project(":spring-cloud-app-broker-core") api "org.springframework.credhub:spring-credhub-starter:${springCredhubVersion}" api "org.springframework.cloud:spring-cloud-open-service-broker-core:${openServiceBrokerVersion}"