Clean up test dependencies
This commit is contained in:
@@ -33,18 +33,11 @@ configurations.archives.artifacts.clear()
|
||||
apply plugin: 'org.springframework.boot'
|
||||
|
||||
dependencies {
|
||||
compile project(":spring-cloud-starter-app-broker-cloudfoundry")
|
||||
compile("org.springframework.boot:spring-boot-starter-webflux")
|
||||
implementation project(":spring-cloud-starter-app-broker-cloudfoundry")
|
||||
implementation("org.springframework.boot:spring-boot-starter-webflux")
|
||||
|
||||
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
|
||||
|
||||
testCompile("org.junit.jupiter:junit-jupiter-api")
|
||||
testImplementation("org.springframework.boot:spring-boot-starter-test") {
|
||||
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
|
||||
}
|
||||
|
||||
testCompile("io.projectreactor:reactor-test")
|
||||
testCompile("org.assertj:assertj-core")
|
||||
testImplementation("org.springframework.boot:spring-boot-starter-test")
|
||||
testImplementation("io.projectreactor:reactor-test")
|
||||
}
|
||||
|
||||
// build the test broker from /src into a jar that the tests can deploy
|
||||
@@ -52,10 +45,10 @@ test.dependsOn assemble
|
||||
|
||||
// omit the version from the test broker jar file
|
||||
jar {
|
||||
version = ''
|
||||
archiveVersion = ''
|
||||
}
|
||||
bootJar {
|
||||
version = ''
|
||||
archiveVersion = ''
|
||||
}
|
||||
|
||||
test {
|
||||
|
||||
@@ -37,13 +37,8 @@ dependencies {
|
||||
|
||||
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
|
||||
|
||||
testImplementation("org.springframework.boot:spring-boot-starter-test") {
|
||||
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
|
||||
}
|
||||
testImplementation("org.springframework.boot:spring-boot-starter-test")
|
||||
testImplementation("io.projectreactor.tools:blockhound-junit-platform:${blockHoundVersion}")
|
||||
testCompileOnly("org.cloudfoundry:cloudfoundry-client-reactor:${cfJavaClientVersion}")
|
||||
testCompileOnly("org.cloudfoundry:cloudfoundry-operations:${cfJavaClientVersion}")
|
||||
testCompileOnly("org.springframework.credhub:spring-credhub-starter:${springCredhubVersion}")
|
||||
}
|
||||
|
||||
compileJava.dependsOn(processResources)
|
||||
|
||||
@@ -33,14 +33,9 @@ dependencies {
|
||||
compile("org.springframework.boot:spring-boot-starter-validation")
|
||||
compile("org.immutables:value:${immutablesVersion}")
|
||||
|
||||
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
|
||||
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
|
||||
|
||||
testImplementation("org.springframework:spring-test")
|
||||
testImplementation("org.springframework.boot:spring-boot-starter-test")
|
||||
testImplementation("io.projectreactor:reactor-test")
|
||||
testImplementation("io.projectreactor.tools:blockhound-junit-platform:${blockHoundVersion}")
|
||||
testImplementation("org.junit.jupiter:junit-jupiter-api")
|
||||
testImplementation("org.assertj:assertj-core")
|
||||
testImplementation("org.mockito:mockito-core")
|
||||
testImplementation("org.mockito:mockito-junit-jupiter")
|
||||
}
|
||||
|
||||
@@ -26,11 +26,8 @@ dependencies {
|
||||
compile("org.springframework:spring-core")
|
||||
compile("io.projectreactor:reactor-core")
|
||||
|
||||
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
|
||||
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
|
||||
|
||||
testImplementation("org.springframework.boot:spring-boot-starter-test")
|
||||
testImplementation("io.projectreactor.tools:blockhound-junit-platform:${blockHoundVersion}")
|
||||
|
||||
testCompile("org.junit.jupiter:junit-jupiter-api")
|
||||
testCompile("org.assertj:assertj-core")
|
||||
}
|
||||
|
||||
@@ -37,12 +37,10 @@ ext {
|
||||
apply plugin: 'org.springframework.boot'
|
||||
|
||||
dependencies {
|
||||
compile project(":spring-cloud-starter-app-broker-cloudfoundry")
|
||||
compile("org.springframework.boot:spring-boot-starter-webflux")
|
||||
implementation project(":spring-cloud-starter-app-broker-cloudfoundry")
|
||||
implementation("org.springframework.boot:spring-boot-starter-webflux")
|
||||
|
||||
testImplementation("org.springframework.boot:spring-boot-starter-test") {
|
||||
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
|
||||
}
|
||||
testImplementation("org.springframework.boot:spring-boot-starter-test")
|
||||
testImplementation("io.rest-assured:rest-assured")
|
||||
testImplementation("com.github.tomakehurst:wiremock:${wiremockVersion}")
|
||||
}
|
||||
|
||||
@@ -28,9 +28,7 @@ dependencies {
|
||||
|
||||
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
|
||||
|
||||
testImplementation("org.springframework.boot:spring-boot-starter-test") {
|
||||
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
|
||||
}
|
||||
testImplementation("org.springframework.boot:spring-boot-starter-test")
|
||||
testImplementation("io.projectreactor:reactor-test")
|
||||
testImplementation("io.projectreactor.tools:blockhound-junit-platform:${blockHoundVersion}")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user