Commit 939b5dfc authored by Phillip Webb's avatar Phillip Webb

Add junit-platform-launcher dependency

Update `build.gradle` files to ensure that `junit-platform-launcher` is
a `testRuntimeOnly` dependency. This ensures that tests can be run from
Eclipse.

Closes gh-25074
parent 3585d204
......@@ -65,6 +65,8 @@ dependencies {
testImplementation("org.mockito:mockito-core")
testImplementation("org.springframework:spring-test")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
testRepository(project(path: ":spring-boot-project:spring-boot-starters:spring-boot-starter-actuator", configuration: "mavenRepository"))
testRepository(project(path: ":spring-boot-project:spring-boot-starters:spring-boot-starter-amqp", configuration: "mavenRepository"))
testRepository(project(path: ":spring-boot-project:spring-boot-starters:spring-boot-starter-aop", configuration: "mavenRepository"))
......
......@@ -101,6 +101,7 @@ dependencies {
testRuntimeOnly(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-web"))
testRuntimeOnly("com.h2database:h2")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
testRuntimeOnly("org.springframework:spring-jdbc")
testSlices(project(path: ":spring-boot-project:spring-boot-test-autoconfigure", configuration: "testSliceMetadata"))
......
......@@ -14,4 +14,6 @@ dependencies {
testImplementation("org.junit.jupiter:junit-jupiter")
testImplementation("org.assertj:assertj-core")
testImplementation("org.springframework:spring-test")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
\ No newline at end of file
......@@ -24,6 +24,8 @@ dependencies {
implementation(project(":spring-boot-project:spring-boot-tools:spring-boot-loader-tools"))
implementation("org.springframework:spring-core")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
task copyIntegrationTestSources(type: Copy) {
......
......@@ -12,4 +12,6 @@ dependencies {
testImplementation("org.assertj:assertj-core")
testImplementation("org.springframework:spring-core")
testImplementation("org.junit.jupiter:junit-jupiter")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
......@@ -13,7 +13,7 @@ dependencies {
api("org.apache.commons:commons-compress:1.19")
api("org.apache.httpcomponents:httpclient")
api("org.springframework:spring-core")
testImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support"))
testImplementation("com.jayway.jsonpath:json-path")
testImplementation("org.assertj:assertj-core")
......@@ -23,4 +23,6 @@ dependencies {
testImplementation("org.mockito:mockito-core")
testImplementation("org.mockito:mockito-junit-jupiter")
testImplementation("org.skyscreamer:jsonassert")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
......@@ -14,4 +14,6 @@ dependencies {
testImplementation("org.junit.jupiter:junit-jupiter")
testImplementation("org.assertj:assertj-core")
testImplementation("org.springframework:spring-core")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
......@@ -24,4 +24,6 @@ dependencies {
testImplementation("org.mockito:mockito-core")
testImplementation("org.projectlombok:lombok")
testImplementation("org.springframework:spring-core")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
......@@ -42,6 +42,8 @@ dependencies {
testImplementation("org.junit.jupiter:junit-jupiter")
testImplementation("org.mockito:mockito-core")
testImplementation("org.testcontainers:testcontainers")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
gradlePlugin {
......
......@@ -13,4 +13,6 @@ dependencies {
testImplementation("org.assertj:assertj-core")
testImplementation("org.junit.jupiter:junit-jupiter")
testImplementation("org.mockito:mockito-core")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
......@@ -31,6 +31,8 @@ dependencies {
testImplementation("org.junit.jupiter:junit-jupiter")
testImplementation("org.mockito:mockito-core")
testImplementation("org.zeroturnaround:zt-zip:1.13")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
sourceSets {
......
......@@ -18,6 +18,7 @@ dependencies {
testRuntimeOnly("ch.qos.logback:logback-classic")
testRuntimeOnly("org.bouncycastle:bcprov-jdk16:1.46")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
testRuntimeOnly("org.slf4j:jcl-over-slf4j")
testRuntimeOnly("org.springframework:spring-webmvc")
}
\ No newline at end of file
}
......@@ -37,6 +37,8 @@ dependencies {
testImplementation("org.junit.jupiter:junit-jupiter")
testImplementation("org.mockito:mockito-core")
testImplementation("org.springframework:spring-core")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
syncDocumentationSourceForAsciidoctor {
......
......@@ -27,6 +27,8 @@ dependencies {
intTestImplementation("org.springframework:spring-web")
providedRuntime(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-tomcat"))
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
intTest {
......
......@@ -14,4 +14,6 @@ dependencies {
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-configuration-metadata"))
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
\ No newline at end of file
......@@ -19,6 +19,8 @@ dependencies {
intTestImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support"))
intTestImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
intTestImplementation("org.testcontainers:testcontainers")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
task syncMavenRepository(type: Sync) {
......
......@@ -20,6 +20,8 @@ dependencies {
intTestImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
intTestImplementation("org.testcontainers:junit-jupiter")
intTestImplementation("org.testcontainers:testcontainers")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
task syncMavenRepository(type: Sync) {
......
......@@ -34,6 +34,7 @@ dependencies {
testRepository(project(path: ":spring-boot-project:spring-boot-starters:spring-boot-starter-undertow", configuration: "mavenRepository"))
testRuntimeOnly(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-logging"))
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
task prepareMavenBinaries(type: org.springframework.boot.build.mavenplugin.PrepareMavenBinaries) {
......
......@@ -9,4 +9,6 @@ dependencies {
implementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-activemq"))
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
\ No newline at end of file
......@@ -16,4 +16,5 @@ dependencies {
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testRuntimeOnly("org.apache.httpcomponents:httpclient")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
\ No newline at end of file
......@@ -17,4 +17,6 @@ dependencies {
implementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-web"))
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
\ No newline at end of file
......@@ -11,4 +11,6 @@ dependencies {
implementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-actuator"))
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
\ No newline at end of file
......@@ -12,4 +12,6 @@ dependencies {
implementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-web"))
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
\ No newline at end of file
......@@ -15,5 +15,7 @@ dependencies {
runtimeOnly("com.h2database:h2")
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testRuntimeOnly("org.apache.httpcomponents:httpclient")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
\ No newline at end of file
......@@ -7,4 +7,6 @@ description = "Spring Boot AMQP smoke test"
dependencies {
implementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-amqp"))
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
\ No newline at end of file
......@@ -7,4 +7,6 @@ description = "Spring Boot animated banner smoke test"
dependencies {
implementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter"))
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
\ No newline at end of file
......@@ -37,6 +37,8 @@ dependencies {
testImplementation("org.assertj:assertj-core")
testImplementation("org.junit.jupiter:junit-jupiter")
testImplementation("org.springframework:spring-core")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
task syncTestRepository(type: Sync) {
......
......@@ -9,4 +9,6 @@ dependencies {
implementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-aop"))
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
\ No newline at end of file
......@@ -14,4 +14,6 @@ dependencies {
testImplementation(enforcedPlatform(project(":spring-boot-project:spring-boot-dependencies")))
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testImplementation("org.springframework:spring-websocket")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
\ No newline at end of file
......@@ -7,8 +7,10 @@ description = "Spring Boot Batch smoke test"
dependencies {
implementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-batch"))
runtimeOnly("org.hsqldb:hsqldb")
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
\ No newline at end of file
......@@ -39,6 +39,8 @@ dependencies {
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
if (project.hasProperty("cache")) {
caches[project.getProperty("cache")].each { runtimeOnly it }
}
......
......@@ -9,4 +9,6 @@ dependencies {
implementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-data-couchbase"))
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
......@@ -9,4 +9,6 @@ dependencies {
implementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-data-elasticsearch"))
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
......@@ -12,4 +12,6 @@ dependencies {
runtimeOnly("com.h2database:h2")
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
......@@ -13,4 +13,6 @@ dependencies {
runtimeOnly("com.h2database:h2")
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
......@@ -11,4 +11,6 @@ dependencies {
runtimeOnly("com.unboundid:unboundid-ldapsdk")
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
......@@ -11,4 +11,6 @@ dependencies {
runtimeOnly("de.flapdoodle.embed:de.flapdoodle.embed.mongo")
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
......@@ -9,4 +9,6 @@ dependencies {
implementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-data-neo4j"))
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
......@@ -21,4 +21,6 @@ dependencies {
testImplementation("io.projectreactor:reactor-test")
testImplementation("org.testcontainers:junit-jupiter")
testImplementation("org.testcontainers:postgresql")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
......@@ -21,4 +21,6 @@ dependencies {
testImplementation("io.projectreactor:reactor-test")
testImplementation("org.testcontainers:junit-jupiter")
testImplementation("org.testcontainers:postgresql")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
......@@ -13,4 +13,6 @@ dependencies {
runtimeOnly("io.r2dbc:r2dbc-h2")
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
......@@ -9,4 +9,6 @@ dependencies {
implementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-data-redis"))
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
......@@ -17,4 +17,5 @@ dependencies {
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testRuntimeOnly("com.jayway.jsonpath:json-path")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
......@@ -9,4 +9,6 @@ dependencies {
implementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-data-solr"))
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
......@@ -17,4 +17,6 @@ dependencies {
implementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-web"))
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
......@@ -14,4 +14,6 @@ dependencies {
runtimeOnly("org.flywaydb:flyway-core")
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
......@@ -9,4 +9,6 @@ dependencies {
implementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-hateoas"))
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
......@@ -21,4 +21,6 @@ dependencies {
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-webflux"))
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
......@@ -19,4 +19,6 @@ dependencies {
runtimeOnly("com.h2database:h2")
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
......@@ -13,4 +13,6 @@ dependencies {
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testImplementation("org.awaitility:awaitility")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
......@@ -15,4 +15,6 @@ dependencies {
}
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
......@@ -27,4 +27,6 @@ dependencies {
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-jetty"))
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
......@@ -14,4 +14,6 @@ dependencies {
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testRuntimeOnly("org.apache.httpcomponents:httpclient")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
......@@ -12,4 +12,6 @@ dependencies {
implementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-jetty"))
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
......@@ -22,4 +22,6 @@ dependencies {
runtimeOnly("com.h2database:h2")
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
......@@ -20,4 +20,6 @@ dependencies {
}
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
......@@ -20,4 +20,6 @@ dependencies {
}
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
......@@ -11,6 +11,8 @@ dependencies {
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test")) {
exclude group: "org.junit.vintage"
}
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
test {
......
......@@ -9,6 +9,8 @@ dependencies {
implementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-web"))
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
test {
......
......@@ -12,4 +12,6 @@ dependencies {
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testImplementation("org.awaitility:awaitility")
testImplementation("org.springframework.kafka:spring-kafka-test")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
......@@ -14,4 +14,6 @@ dependencies {
runtimeOnly("com.h2database:h2")
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
......@@ -9,4 +9,6 @@ dependencies {
implementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter"))
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
......@@ -11,4 +11,6 @@ dependencies {
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testImplementation("org.apache.httpcomponents:httpclient")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
......@@ -11,4 +11,6 @@ dependencies {
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testImplementation("com.squareup.okhttp3:mockwebserver:3.9.0")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
......@@ -12,4 +12,6 @@ dependencies {
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testImplementation("org.awaitility:awaitility")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
......@@ -9,4 +9,6 @@ dependencies {
implementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter"))
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
......@@ -11,4 +11,6 @@ dependencies {
implementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter"))
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
......@@ -13,4 +13,6 @@ dependencies {
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testImplementation("org.awaitility:awaitility")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
......@@ -12,4 +12,6 @@ dependencies {
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testImplementation("org.apache.httpcomponents:httpclient")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
......@@ -11,4 +11,6 @@ dependencies {
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testImplementation("com.squareup.okhttp3:mockwebserver:3.9.0")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
......@@ -12,4 +12,6 @@ dependencies {
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testImplementation("io.projectreactor:reactor-test")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
......@@ -11,4 +11,6 @@ dependencies {
implementation("org.springframework.security:spring-security-saml2-service-provider")
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
......@@ -12,4 +12,6 @@ dependencies {
implementation("org.jolokia:jolokia-core")
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
......@@ -12,4 +12,6 @@ dependencies {
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testImplementation("io.projectreactor:reactor-test")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
......@@ -9,4 +9,6 @@ dependencies {
implementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-security"))
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
......@@ -13,4 +13,5 @@ dependencies {
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testRuntimeOnly(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-tomcat"))
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
......@@ -24,4 +24,6 @@ dependencies {
sessionStores[project.findProperty("sessionStore") ?: "mongodb"].each { runtimeOnly it }
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
......@@ -33,4 +33,6 @@ dependencies {
sessionStores[project.findProperty("sessionStore") ?: "jdbc"].each { runtimeOnly it }
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
......@@ -13,4 +13,6 @@ dependencies {
}
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
......@@ -15,4 +15,6 @@ dependencies {
testImplementation("org.assertj:assertj-core")
testImplementation("org.junit.jupiter:junit-jupiter")
testImplementation("org.springframework:spring-test")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
......@@ -15,4 +15,6 @@ dependencies {
testImplementation("org.seleniumhq.selenium:selenium-api")
testImplementation("org.seleniumhq.selenium:htmlunit-driver")
testImplementation("net.sourceforge.htmlunit:htmlunit")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
......@@ -14,6 +14,8 @@ dependencies {
testImplementation("org.assertj:assertj-core")
testImplementation("org.springframework:spring-test")
testImplementation("org.testng:testng:6.8.13")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
test {
......
......@@ -19,4 +19,6 @@ dependencies {
providedRuntime("org.apache.tomcat.embed:tomcat-embed-jasper")
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
......@@ -10,4 +10,6 @@ dependencies {
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testImplementation("org.apache.httpcomponents:httpclient")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
......@@ -10,4 +10,6 @@ dependencies {
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testImplementation("org.apache.httpcomponents:httpclient")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
......@@ -11,4 +11,6 @@ dependencies {
implementation("org.springframework:spring-webmvc")
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
......@@ -20,4 +20,6 @@ dependencies {
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testImplementation("org.apache.httpcomponents:httpclient")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
......@@ -13,4 +13,6 @@ dependencies {
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testImplementation("org.apache.httpcomponents:httpclient")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
......@@ -12,4 +12,6 @@ dependencies {
implementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-undertow"))
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
......@@ -19,4 +19,6 @@ dependencies {
providedCompile("jakarta.servlet:jakarta.servlet-api")
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
......@@ -10,4 +10,6 @@ dependencies {
implementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-web"))
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
......@@ -13,4 +13,6 @@ dependencies {
}
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
......@@ -19,4 +19,6 @@ dependencies {
providedRuntime("org.apache.tomcat.embed:tomcat-embed-jasper")
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
......@@ -12,4 +12,6 @@ dependencies {
implementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-web"))
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
......@@ -10,4 +10,6 @@ dependencies {
implementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-web"))
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
......@@ -12,4 +12,6 @@ dependencies {
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testImplementation("org.apache.httpcomponents:httpclient")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
......@@ -15,4 +15,6 @@ dependencies {
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testImplementation("org.apache.httpcomponents:httpclient")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
......@@ -13,4 +13,6 @@ dependencies {
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testImplementation("org.apache.httpcomponents:httpclient")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
......@@ -20,4 +20,6 @@ dependencies {
runtimeOnly("org.webjars:jquery:2.0.3-1")
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
......@@ -11,4 +11,6 @@ dependencies {
implementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-validation"))
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment