Make dependencies more groovy

This commit is contained in:
Gareth Clay
2020-06-18 15:13:45 +01:00
committed by Gareth Clay
parent 036f5bbf29
commit f096785ecc
7 changed files with 46 additions and 52 deletions

View File

@@ -20,17 +20,14 @@ plugins {
description = "Spring Cloud App Broker Acceptance Tests"
// don't publish the jar for the acceptance tests project
configurations.archives.artifacts.clear()
dependencies {
implementation project(":spring-cloud-starter-app-broker-cloudfoundry")
implementation("org.springframework.boot:spring-boot-starter-webflux")
implementation "org.springframework.boot:spring-boot-starter-webflux"
testImplementation("org.springframework.boot:spring-boot-starter-test")
testImplementation("io.projectreactor:reactor-test")
testImplementation("org.cloudfoundry:cloudfoundry-client-reactor:${cfJavaClientVersion}")
testImplementation("org.cloudfoundry:cloudfoundry-operations:${cfJavaClientVersion}")
testImplementation "org.springframework.boot:spring-boot-starter-test"
testImplementation "io.projectreactor:reactor-test"
testImplementation "org.cloudfoundry:cloudfoundry-client-reactor:${cfJavaClientVersion}"
testImplementation "org.cloudfoundry:cloudfoundry-operations:${cfJavaClientVersion}"
}
// omit the version from the test broker jar file

View File

@@ -29,26 +29,26 @@ java {
}
dependencies {
annotationProcessor("org.springframework.boot:spring-boot-configuration-processor")
annotationProcessor("org.springframework.boot:spring-boot-autoconfigure-processor")
annotationProcessor "org.springframework.boot:spring-boot-configuration-processor"
annotationProcessor "org.springframework.boot:spring-boot-autoconfigure-processor"
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}")
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}"
loggingImplementation project(":spring-cloud-app-broker-logging")
testImplementation("org.springframework.boot:spring-boot-starter-test")
testImplementation("org.springframework.boot:spring-boot-starter-webflux")
testImplementation("io.projectreactor.tools:blockhound-junit-platform:${blockHoundVersion}")
testImplementation "org.springframework.boot:spring-boot-starter-test"
testImplementation "org.springframework.boot:spring-boot-starter-webflux"
testImplementation "io.projectreactor.tools:blockhound-junit-platform:${blockHoundVersion}"
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
testRuntimeOnly "org.junit.platform:junit-platform-launcher"
}
compileJava.dependsOn(processResources)

View File

@@ -24,13 +24,13 @@ dependencyManagement {
dependencies {
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")
implementation "org.cloudfoundry:cloudfoundry-client-reactor:${cfJavaClientVersion}"
implementation "org.cloudfoundry:cloudfoundry-operations:${cfJavaClientVersion}"
implementation "org.springframework.boot:spring-boot-starter-validation"
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
testRuntimeOnly "org.junit.platform:junit-platform-launcher"
testImplementation("org.springframework.boot:spring-boot-starter-test")
testImplementation("io.projectreactor:reactor-test")
testImplementation("io.projectreactor.tools:blockhound-junit-platform:${blockHoundVersion}")
testImplementation "org.springframework.boot:spring-boot-starter-test"
testImplementation "io.projectreactor:reactor-test"
testImplementation "io.projectreactor.tools:blockhound-junit-platform:${blockHoundVersion}"
}

View File

@@ -23,11 +23,11 @@ dependencyManagement {
}
dependencies {
implementation("org.springframework:spring-core")
implementation("io.projectreactor:reactor-core")
implementation "org.springframework:spring-core"
implementation "io.projectreactor:reactor-core"
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
testRuntimeOnly "org.junit.platform:junit-platform-launcher"
testImplementation("org.springframework.boot:spring-boot-starter-test")
testImplementation("io.projectreactor.tools:blockhound-junit-platform:${blockHoundVersion}")
testImplementation "org.springframework.boot:spring-boot-starter-test"
testImplementation "io.projectreactor.tools:blockhound-junit-platform:${blockHoundVersion}"
}

View File

@@ -33,14 +33,14 @@ dependencyManagement {
dependencies {
implementation project(":spring-cloud-app-broker-core")
implementation("org.springframework.boot:spring-boot-starter")
implementation("org.springframework.boot:spring-boot-starter-security")
implementation("org.springframework.boot:spring-boot-starter-tomcat")
implementation("io.projectreactor:reactor-core")
implementation("org.springframework.boot:spring-boot-starter-data-r2dbc:2.3.0.RELEASE")
implementation("io.r2dbc:r2dbc-h2:0.8.0.RELEASE")
implementation "org.springframework.boot:spring-boot-starter"
implementation "org.springframework.boot:spring-boot-starter-security"
implementation "org.springframework.boot:spring-boot-starter-tomcat"
implementation "io.projectreactor:reactor-core"
implementation "org.springframework.boot:spring-boot-starter-data-r2dbc:2.3.0.RELEASE"
implementation "io.r2dbc:r2dbc-h2:0.8.0.RELEASE"
docs("io.spring.docresources:spring-doc-resources:0.2.1.RELEASE@zip")
docs "io.spring.docresources:spring-doc-resources:0.2.1.RELEASE@zip"
}
javadoc {

View File

@@ -20,16 +20,13 @@ plugins {
description = "Spring Cloud App Broker Integration Tests"
// don't publish the jar for this module
configurations.archives.artifacts.clear()
dependencies {
implementation project(":spring-cloud-starter-app-broker-cloudfoundry")
implementation("org.springframework.boot:spring-boot-starter-webflux")
implementation "org.springframework.boot:spring-boot-starter-webflux"
testImplementation("org.springframework.boot:spring-boot-starter-test")
testImplementation("io.rest-assured:rest-assured")
testImplementation("com.github.tomakehurst:wiremock:${wiremockVersion}")
testImplementation "org.springframework.boot:spring-boot-starter-test"
testImplementation "io.rest-assured:rest-assured"
testImplementation "com.github.tomakehurst:wiremock:${wiremockVersion}"
}
test {

View File

@@ -24,13 +24,13 @@ dependencyManagement {
dependencies {
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}")
implementation "org.springframework.credhub:spring-credhub-starter:${springCredhubVersion}"
implementation "org.springframework.cloud:spring-cloud-open-service-broker-core:${openServiceBrokerVersion}"
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
testRuntimeOnly "org.junit.platform:junit-platform-launcher"
testImplementation("org.springframework.boot:spring-boot-starter-test")
testImplementation("org.springframework.boot:spring-boot-starter-webflux")
testImplementation("io.projectreactor:reactor-test")
testImplementation("io.projectreactor.tools:blockhound-junit-platform:${blockHoundVersion}")
testImplementation "org.springframework.boot:spring-boot-starter-test"
testImplementation "org.springframework.boot:spring-boot-starter-webflux"
testImplementation "io.projectreactor:reactor-test"
testImplementation "io.projectreactor.tools:blockhound-junit-platform:${blockHoundVersion}"
}