Revert use of implementation dependencies
Gradle `implementation` dependencies produce `runtime` dependencies in Maven POMs. This is generally not desired for this library projects.
This commit is contained in:
committed by
Scott Frederick
parent
2f2d91abc5
commit
77db951c65
@@ -29,8 +29,7 @@ buildscript {
|
||||
|
||||
configure(allprojects) {
|
||||
group = "org.springframework.cloud"
|
||||
|
||||
apply plugin: "java-library"
|
||||
|
||||
apply plugin: "maven"
|
||||
apply plugin: "eclipse"
|
||||
apply plugin: "idea"
|
||||
@@ -63,8 +62,8 @@ configure(allprojects) {
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
maven { url "https://repo.spring.io/libs-snapshot-local" }
|
||||
maven { url "https://repo.spring.io/libs-milestone-local" }
|
||||
maven { url "https://repo.spring.io/libs-milestone" }
|
||||
maven { url "https://repo.spring.io/libs-snapshot" }
|
||||
}
|
||||
|
||||
if (project.hasProperty("springVersion") || project.hasProperty("springBootVersion") || project.hasProperty("reactorVersion")) {
|
||||
|
||||
@@ -33,9 +33,8 @@ configurations.archives.artifacts.clear()
|
||||
apply plugin: 'org.springframework.boot'
|
||||
|
||||
dependencies {
|
||||
implementation project(":spring-cloud-starter-app-broker-cloudfoundry")
|
||||
|
||||
implementation("org.springframework.boot:spring-boot-starter-webflux")
|
||||
compile project(":spring-cloud-starter-app-broker-cloudfoundry")
|
||||
compile("org.springframework.boot:spring-boot-starter-webflux")
|
||||
|
||||
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
|
||||
|
||||
|
||||
@@ -23,15 +23,14 @@ dependencyManagement {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
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")
|
||||
|
||||
compileOnly("org.cloudfoundry:cloudfoundry-client-reactor:${cfJavaClientVersion}")
|
||||
compileOnly("org.cloudfoundry:cloudfoundry-operations:${cfJavaClientVersion}")
|
||||
compileOnly("org.springframework.credhub:spring-credhub-starter:${springCredhubVersion}")
|
||||
compile project(":spring-cloud-app-broker-core")
|
||||
compile project(":spring-cloud-app-broker-deployer")
|
||||
compile project(":spring-cloud-app-broker-deployer-cloudfoundry")
|
||||
compile project(":spring-cloud-app-broker-security-credhub")
|
||||
compile("org.springframework.boot:spring-boot-starter")
|
||||
compile("org.cloudfoundry:cloudfoundry-client-reactor:${cfJavaClientVersion}")
|
||||
compile("org.cloudfoundry:cloudfoundry-operations:${cfJavaClientVersion}")
|
||||
compile("org.springframework.credhub:spring-credhub-starter:${springCredhubVersion}")
|
||||
|
||||
annotationProcessor("org.springframework.boot:spring-boot-configuration-processor")
|
||||
annotationProcessor("org.springframework.boot:spring-boot-autoconfigure-processor")
|
||||
|
||||
@@ -28,13 +28,12 @@ dependencyManagement {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
api project(":spring-cloud-app-broker-deployer")
|
||||
api("io.projectreactor:reactor-core")
|
||||
api("org.apache.commons:commons-text:1.4")
|
||||
api("org.springframework.cloud:spring-cloud-open-service-broker-core:${openServiceBrokerVersion}")
|
||||
|
||||
implementation("org.springframework:spring-core")
|
||||
implementation("org.springframework:spring-context")
|
||||
compile project(":spring-cloud-app-broker-deployer")
|
||||
compile("org.springframework:spring-core")
|
||||
compile("org.springframework:spring-context")
|
||||
compile("io.projectreactor:reactor-core")
|
||||
compile("org.springframework.cloud:spring-cloud-open-service-broker-core:${openServiceBrokerVersion}")
|
||||
compile("org.apache.commons:commons-text:1.4")
|
||||
|
||||
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:${junitJupiterVersion}")
|
||||
|
||||
|
||||
@@ -23,12 +23,11 @@ dependencyManagement {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation project(":spring-cloud-app-broker-deployer")
|
||||
implementation("org.cloudfoundry:cloudfoundry-client-reactor:${cfJavaClientVersion}")
|
||||
implementation("org.cloudfoundry:cloudfoundry-operations:${cfJavaClientVersion}")
|
||||
api("org.immutables:value:${immutablesVersion}")
|
||||
|
||||
implementation("org.springframework.boot:spring-boot-starter-validation")
|
||||
compile project(":spring-cloud-app-broker-deployer")
|
||||
compile("org.cloudfoundry:cloudfoundry-client-reactor:${cfJavaClientVersion}")
|
||||
compile("org.cloudfoundry:cloudfoundry-operations:${cfJavaClientVersion}")
|
||||
compile("org.springframework.boot:spring-boot-starter-validation")
|
||||
compile("org.immutables:value:${immutablesVersion}")
|
||||
|
||||
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
|
||||
|
||||
|
||||
@@ -23,6 +23,6 @@ dependencyManagement {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation("org.springframework:spring-core")
|
||||
implementation("io.projectreactor:reactor-core")
|
||||
compile("org.springframework:spring-core")
|
||||
compile("io.projectreactor:reactor-core")
|
||||
}
|
||||
|
||||
@@ -41,9 +41,8 @@ ext['jetty.version'] = "9.4.8.v20171121"
|
||||
apply plugin: 'org.springframework.boot'
|
||||
|
||||
dependencies {
|
||||
implementation project(":spring-cloud-starter-app-broker-cloudfoundry")
|
||||
|
||||
implementation("org.springframework.boot:spring-boot-starter-webflux")
|
||||
compile project(":spring-cloud-starter-app-broker-cloudfoundry")
|
||||
compile("org.springframework.boot:spring-boot-starter-webflux")
|
||||
|
||||
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
|
||||
|
||||
|
||||
@@ -23,8 +23,8 @@ dependencyManagement {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation project(":spring-cloud-app-broker-core")
|
||||
implementation("org.springframework.credhub:spring-credhub-starter:${springCredhubVersion}")
|
||||
compile project(":spring-cloud-app-broker-core")
|
||||
compile("org.springframework.credhub:spring-credhub-starter:${springCredhubVersion}")
|
||||
|
||||
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
|
||||
|
||||
|
||||
@@ -23,12 +23,11 @@ dependencyManagement {
|
||||
}
|
||||
|
||||
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}")
|
||||
compile project(":spring-cloud-starter-app-broker")
|
||||
compile project(":spring-cloud-app-broker-deployer-cloudfoundry")
|
||||
compile project(":spring-cloud-app-broker-security-credhub")
|
||||
compile("org.cloudfoundry:cloudfoundry-client-reactor:${cfJavaClientVersion}")
|
||||
compile("org.cloudfoundry:cloudfoundry-operations:${cfJavaClientVersion}")
|
||||
}
|
||||
|
||||
install {
|
||||
|
||||
@@ -23,9 +23,9 @@ dependencyManagement {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
api project(":spring-cloud-app-broker-core")
|
||||
api project(":spring-cloud-app-broker-autoconfigure")
|
||||
api("org.springframework.cloud:spring-cloud-starter-open-service-broker:${openServiceBrokerVersion}")
|
||||
compile project(":spring-cloud-app-broker-core")
|
||||
compile project(":spring-cloud-app-broker-autoconfigure")
|
||||
compile("org.springframework.cloud:spring-cloud-starter-open-service-broker:${openServiceBrokerVersion}")
|
||||
}
|
||||
|
||||
install {
|
||||
|
||||
Reference in New Issue
Block a user