API scope, Boot BOM
* Make just about everything API scope, apart from commons-text * Also use Spring Boot BOM to manage Spring Framework and Reactor versions in core subproject
This commit is contained in:
@@ -28,10 +28,6 @@ ext {
|
||||
] as String[]
|
||||
}
|
||||
|
||||
// override managed Spring Boot versions
|
||||
ext['spring-framework.version'] = springFrameworkVersion
|
||||
ext['reactor-bom.version'] = reactorVersion
|
||||
|
||||
description = "Spring Cloud App Broker"
|
||||
|
||||
allprojects {
|
||||
|
||||
@@ -15,7 +15,6 @@ junitPlatformLauncherVersion = 1.6.2
|
||||
mockitoVersion = 3.1.0
|
||||
openServiceBrokerVersion = 3.1.1.RELEASE
|
||||
pmdVersion = 6.24.0
|
||||
reactorVersion = Dysprosium-SR7
|
||||
springBootVersion = 2.3.1.RELEASE
|
||||
springCredhubVersion = 2.1.1.RELEASE
|
||||
springFrameworkVersion = 5.2.7.RELEASE
|
||||
|
||||
@@ -21,9 +21,9 @@ plugins {
|
||||
description = "Spring Cloud App Broker Acceptance Tests"
|
||||
|
||||
dependencies {
|
||||
implementation enforcedPlatform("org.springframework.boot:spring-boot-dependencies:${springBootVersion}")
|
||||
implementation project(":spring-cloud-starter-app-broker-cloudfoundry")
|
||||
implementation "org.springframework.boot:spring-boot-starter-webflux"
|
||||
api enforcedPlatform("org.springframework.boot:spring-boot-dependencies:${springBootVersion}")
|
||||
api project(":spring-cloud-starter-app-broker-cloudfoundry")
|
||||
api "org.springframework.boot:spring-boot-starter-webflux"
|
||||
|
||||
testImplementation "org.springframework.boot:spring-boot-starter-test"
|
||||
testImplementation "io.projectreactor:reactor-test"
|
||||
|
||||
@@ -27,16 +27,15 @@ dependencies {
|
||||
annotationProcessor "org.springframework.boot:spring-boot-configuration-processor"
|
||||
annotationProcessor "org.springframework.boot:spring-boot-autoconfigure-processor"
|
||||
|
||||
implementation enforcedPlatform("org.springframework.boot:spring-boot-dependencies:${springBootVersion}")
|
||||
implementation project(":spring-cloud-app-broker-core")
|
||||
implementation project(":spring-cloud-app-broker-deployer")
|
||||
implementation project(":spring-cloud-app-broker-deployer-cloudfoundry")
|
||||
implementation project(":spring-cloud-app-broker-security-credhub")
|
||||
implementation "org.springframework.boot:spring-boot-starter"
|
||||
implementation "org.springframework.boot:spring-boot-starter-webflux"
|
||||
implementation "org.cloudfoundry:cloudfoundry-client-reactor:${cfJavaClientVersion}"
|
||||
implementation "org.cloudfoundry:cloudfoundry-operations:${cfJavaClientVersion}"
|
||||
implementation "org.springframework.credhub:spring-credhub-starter:${springCredhubVersion}"
|
||||
api enforcedPlatform("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")
|
||||
api project(":spring-cloud-app-broker-security-credhub")
|
||||
api "org.springframework.boot:spring-boot-starter"
|
||||
api "org.cloudfoundry:cloudfoundry-client-reactor:${cfJavaClientVersion}"
|
||||
api "org.cloudfoundry:cloudfoundry-operations:${cfJavaClientVersion}"
|
||||
api "org.springframework.credhub:spring-credhub-starter:${springCredhubVersion}"
|
||||
|
||||
loggingImplementation project(":spring-cloud-app-broker-logging")
|
||||
|
||||
|
||||
@@ -20,11 +20,11 @@ dependencies {
|
||||
api project(":spring-cloud-app-broker-deployer")
|
||||
api "org.springframework.cloud:spring-cloud-open-service-broker-core:${openServiceBrokerVersion}"
|
||||
|
||||
implementation enforcedPlatform("org.springframework:spring-framework-bom:${springFrameworkVersion}")
|
||||
implementation enforcedPlatform("io.projectreactor:reactor-bom:${reactorVersion}")
|
||||
implementation "org.springframework:spring-core"
|
||||
implementation "org.springframework:spring-context"
|
||||
implementation "io.projectreactor:reactor-core"
|
||||
api enforcedPlatform("org.springframework.boot:spring-boot-dependencies:${springBootVersion}")
|
||||
api "org.springframework:spring-core"
|
||||
api "org.springframework:spring-context"
|
||||
api "io.projectreactor:reactor-core"
|
||||
|
||||
implementation "org.apache.commons:commons-text:${commonsTextVersion}"
|
||||
|
||||
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:${junitJupiterVersion}"
|
||||
|
||||
@@ -17,11 +17,11 @@
|
||||
description = "Spring Cloud App Broker Deployer Cloud Foundry"
|
||||
|
||||
dependencies {
|
||||
implementation enforcedPlatform("org.springframework.boot:spring-boot-dependencies:${springBootVersion}")
|
||||
implementation project(":spring-cloud-app-broker-deployer")
|
||||
implementation "org.cloudfoundry:cloudfoundry-client-reactor:${cfJavaClientVersion}"
|
||||
implementation "org.cloudfoundry:cloudfoundry-operations:${cfJavaClientVersion}"
|
||||
implementation "org.springframework.boot:spring-boot-starter-validation"
|
||||
api enforcedPlatform("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}"
|
||||
api "org.springframework.boot:spring-boot-starter-validation"
|
||||
|
||||
testRuntimeOnly "org.junit.platform:junit-platform-launcher"
|
||||
|
||||
|
||||
@@ -17,9 +17,9 @@
|
||||
description = "Spring Cloud App Broker Deployer"
|
||||
|
||||
dependencies {
|
||||
implementation enforcedPlatform("org.springframework.boot:spring-boot-dependencies:${springBootVersion}")
|
||||
implementation "org.springframework:spring-core"
|
||||
implementation "io.projectreactor:reactor-core"
|
||||
api enforcedPlatform("org.springframework.boot:spring-boot-dependencies:${springBootVersion}")
|
||||
api "org.springframework:spring-core"
|
||||
api "io.projectreactor:reactor-core"
|
||||
|
||||
testRuntimeOnly "org.junit.platform:junit-platform-launcher"
|
||||
|
||||
|
||||
@@ -17,10 +17,10 @@
|
||||
description = "Spring Cloud App Broker Logging"
|
||||
|
||||
dependencies {
|
||||
implementation enforcedPlatform("org.springframework.boot:spring-boot-dependencies:${springBootVersion}")
|
||||
implementation "org.springframework.boot:spring-boot-starter-webflux"
|
||||
implementation "org.cloudfoundry:cloudfoundry-client-reactor:${cfJavaClientVersion}"
|
||||
implementation "org.cloudfoundry:cloudfoundry-operations:${cfJavaClientVersion}"
|
||||
api enforcedPlatform("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}"
|
||||
|
||||
testImplementation project(":spring-cloud-starter-app-broker-logging")
|
||||
testImplementation "org.springframework.boot:spring-boot-starter-test"
|
||||
|
||||
@@ -17,10 +17,10 @@
|
||||
description = "Spring Cloud App Broker Security CredHub"
|
||||
|
||||
dependencies {
|
||||
implementation enforcedPlatform("org.springframework.boot:spring-boot-dependencies:${springBootVersion}")
|
||||
implementation project(":spring-cloud-app-broker-core")
|
||||
implementation "org.springframework.credhub:spring-credhub-starter:${springCredhubVersion}"
|
||||
implementation "org.springframework.cloud:spring-cloud-open-service-broker-core:${openServiceBrokerVersion}"
|
||||
api enforcedPlatform("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}"
|
||||
|
||||
testRuntimeOnly "org.junit.platform:junit-platform-launcher"
|
||||
|
||||
|
||||
@@ -19,9 +19,8 @@ description = "Spring Cloud App Broker Starter for Cloud Foundry"
|
||||
dependencies {
|
||||
api project(":spring-cloud-starter-app-broker")
|
||||
api project(":spring-cloud-app-broker-deployer-cloudfoundry")
|
||||
api project(":spring-cloud-app-broker-security-credhub")
|
||||
api "org.cloudfoundry:cloudfoundry-client-reactor:${cfJavaClientVersion}"
|
||||
api "org.cloudfoundry:cloudfoundry-operations:${cfJavaClientVersion}"
|
||||
|
||||
implementation project(":spring-cloud-app-broker-security-credhub")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user