Remove enforcedPlatform dependency management

Allowing consumer projects to apply their own version management
This commit is contained in:
Gareth Clay
2022-10-13 09:32:10 +01:00
committed by Gareth Clay
parent 9a4bbfabd1
commit c0ef52da48
9 changed files with 10 additions and 10 deletions

View File

@@ -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"

View File

@@ -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")

View File

@@ -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"

View File

@@ -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}"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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}"

View File

@@ -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}"