Skip to content

Commit aee9566

Browse files
committed
Remove enforcedPlatform dependency management
Allowing consumer projects to apply their own version management
1 parent 916b8f6 commit aee9566

File tree

9 files changed

+10
-10
lines changed

9 files changed

+10
-10
lines changed

spring-cloud-app-broker-acceptance-tests/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ plugins {
2121
description = "Spring Cloud App Broker Acceptance Tests"
2222

2323
dependencies {
24-
api enforcedPlatform("org.springframework.boot:spring-boot-dependencies:${springBootVersion}")
24+
api platform("org.springframework.boot:spring-boot-dependencies:${springBootVersion}")
2525
api project(":spring-cloud-starter-app-broker-cloudfoundry")
2626
api "org.springframework.boot:spring-boot-starter-webflux"
2727

spring-cloud-app-broker-autoconfigure/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ java {
2323
}
2424

2525
dependencies {
26-
annotationProcessor enforcedPlatform("org.springframework.boot:spring-boot-dependencies:${springBootVersion}")
26+
annotationProcessor platform("org.springframework.boot:spring-boot-dependencies:${springBootVersion}")
2727
annotationProcessor "org.springframework.boot:spring-boot-configuration-processor"
2828
annotationProcessor "org.springframework.boot:spring-boot-autoconfigure-processor"
2929

30-
api enforcedPlatform("org.springframework.boot:spring-boot-dependencies:${springBootVersion}")
30+
api platform("org.springframework.boot:spring-boot-dependencies:${springBootVersion}")
3131
api project(":spring-cloud-app-broker-core")
3232
api project(":spring-cloud-app-broker-deployer")
3333
api project(":spring-cloud-app-broker-deployer-cloudfoundry")

spring-cloud-app-broker-core/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ dependencies {
2020
api project(":spring-cloud-app-broker-deployer")
2121
api "org.springframework.cloud:spring-cloud-open-service-broker-core:${openServiceBrokerVersion}"
2222

23-
api enforcedPlatform("org.springframework.boot:spring-boot-dependencies:${springBootVersion}")
23+
api platform("org.springframework.boot:spring-boot-dependencies:${springBootVersion}")
2424
api "org.springframework:spring-core"
2525
api "org.springframework:spring-context"
2626
api "io.projectreactor:reactor-core"

spring-cloud-app-broker-deployer-cloudfoundry/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
description = "Spring Cloud App Broker Deployer Cloud Foundry"
1818

1919
dependencies {
20-
api enforcedPlatform("org.springframework.boot:spring-boot-dependencies:${springBootVersion}")
20+
api platform("org.springframework.boot:spring-boot-dependencies:${springBootVersion}")
2121
api project(":spring-cloud-app-broker-deployer")
2222
api "org.cloudfoundry:cloudfoundry-client-reactor:${cfJavaClientVersion}"
2323
api "org.cloudfoundry:cloudfoundry-operations:${cfJavaClientVersion}"

spring-cloud-app-broker-deployer/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
description = "Spring Cloud App Broker Deployer"
1818

1919
dependencies {
20-
api enforcedPlatform("org.springframework.boot:spring-boot-dependencies:${springBootVersion}")
20+
api platform("org.springframework.boot:spring-boot-dependencies:${springBootVersion}")
2121
api "org.springframework:spring-core"
2222
api "io.projectreactor:reactor-core"
2323

spring-cloud-app-broker-docs/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ configurations {
2626
}
2727

2828
dependencies {
29-
implementation enforcedPlatform("org.springframework.boot:spring-boot-dependencies:${springBootVersion}")
29+
implementation platform("org.springframework.boot:spring-boot-dependencies:${springBootVersion}")
3030
implementation project(":spring-cloud-app-broker-core")
3131
implementation "org.springframework.boot:spring-boot-starter"
3232
implementation "org.springframework.boot:spring-boot-starter-data-r2dbc"

spring-cloud-app-broker-integration-tests/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ plugins {
2121
description = "Spring Cloud App Broker Integration Tests"
2222

2323
dependencies {
24-
implementation enforcedPlatform("org.springframework.boot:spring-boot-dependencies:${springBootVersion}")
24+
implementation platform("org.springframework.boot:spring-boot-dependencies:${springBootVersion}")
2525
implementation project(":spring-cloud-starter-app-broker-cloudfoundry")
2626
implementation "org.springframework.boot:spring-boot-starter-webflux"
2727

spring-cloud-app-broker-logging/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
description = "Spring Cloud App Broker Logging"
1818

1919
dependencies {
20-
api enforcedPlatform("org.springframework.boot:spring-boot-dependencies:${springBootVersion}")
20+
api platform("org.springframework.boot:spring-boot-dependencies:${springBootVersion}")
2121
api "org.springframework.boot:spring-boot-starter-webflux"
2222
api "org.cloudfoundry:cloudfoundry-client-reactor:${cfJavaClientVersion}"
2323
api "org.cloudfoundry:cloudfoundry-operations:${cfJavaClientVersion}"

spring-cloud-app-broker-security-credhub/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
description = "Spring Cloud App Broker Security CredHub"
1818

1919
dependencies {
20-
api enforcedPlatform("org.springframework.boot:spring-boot-dependencies:${springBootVersion}")
20+
api platform("org.springframework.boot:spring-boot-dependencies:${springBootVersion}")
2121
api project(":spring-cloud-app-broker-core")
2222
api "org.springframework.credhub:spring-credhub-starter:${springCredhubVersion}"
2323
api "org.springframework.cloud:spring-cloud-open-service-broker-core:${openServiceBrokerVersion}"

0 commit comments

Comments
 (0)