From 939b5dfc2634d1920c214054eea8444a34f1d948 Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Mon, 1 Feb 2021 15:28:20 -0800 Subject: [PATCH] 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 --- spring-boot-project/spring-boot-cli/build.gradle | 2 ++ spring-boot-project/spring-boot-docs/build.gradle | 1 + .../spring-boot-properties-migrator/build.gradle | 2 ++ .../spring-boot-tools/spring-boot-antlib/build.gradle | 2 ++ .../spring-boot-autoconfigure-processor/build.gradle | 2 ++ .../spring-boot-buildpack-platform/build.gradle | 4 +++- .../spring-boot-configuration-metadata/build.gradle | 2 ++ .../spring-boot-configuration-processor/build.gradle | 2 ++ .../spring-boot-tools/spring-boot-gradle-plugin/build.gradle | 2 ++ .../spring-boot-jarmode-layertools/build.gradle | 2 ++ .../spring-boot-tools/spring-boot-loader-tools/build.gradle | 2 ++ .../spring-boot-tools/spring-boot-loader/build.gradle | 3 ++- .../spring-boot-tools/spring-boot-maven-plugin/build.gradle | 2 ++ spring-boot-tests/spring-boot-deployment-tests/build.gradle | 2 ++ .../spring-boot-configuration-processor-tests/build.gradle | 2 ++ .../spring-boot-launch-script-tests/build.gradle | 2 ++ .../spring-boot-loader-tests/build.gradle | 2 ++ .../spring-boot-server-tests/build.gradle | 1 + .../spring-boot-smoke-test-activemq/build.gradle | 2 ++ .../build.gradle | 1 + .../spring-boot-smoke-test-actuator-log4j2/build.gradle | 2 ++ .../spring-boot-smoke-test-actuator-noweb/build.gradle | 2 ++ .../spring-boot-smoke-test-actuator-ui/build.gradle | 2 ++ .../spring-boot-smoke-test-actuator/build.gradle | 2 ++ .../spring-boot-smoke-test-amqp/build.gradle | 2 ++ .../spring-boot-smoke-test-animated-banner/build.gradle | 2 ++ .../spring-boot-smoke-test-ant/build.gradle | 2 ++ .../spring-boot-smoke-test-aop/build.gradle | 2 ++ .../spring-boot-smoke-test-atmosphere/build.gradle | 2 ++ .../spring-boot-smoke-test-batch/build.gradle | 4 +++- .../spring-boot-smoke-test-cache/build.gradle | 2 ++ .../spring-boot-smoke-test-data-couchbase/build.gradle | 2 ++ .../spring-boot-smoke-test-data-elasticsearch/build.gradle | 2 ++ .../spring-boot-smoke-test-data-jdbc/build.gradle | 2 ++ .../spring-boot-smoke-test-data-jpa/build.gradle | 2 ++ .../spring-boot-smoke-test-data-ldap/build.gradle | 2 ++ .../spring-boot-smoke-test-data-mongodb/build.gradle | 2 ++ .../spring-boot-smoke-test-data-neo4j/build.gradle | 2 ++ .../spring-boot-smoke-test-data-r2dbc-flyway/build.gradle | 2 ++ .../spring-boot-smoke-test-data-r2dbc-liquibase/build.gradle | 2 ++ .../spring-boot-smoke-test-data-r2dbc/build.gradle | 2 ++ .../spring-boot-smoke-test-data-redis/build.gradle | 2 ++ .../spring-boot-smoke-test-data-rest/build.gradle | 1 + .../spring-boot-smoke-test-data-solr/build.gradle | 2 ++ .../spring-boot-smoke-test-devtools/build.gradle | 2 ++ .../spring-boot-smoke-test-flyway/build.gradle | 2 ++ .../spring-boot-smoke-test-hateoas/build.gradle | 2 ++ .../spring-boot-smoke-test-hazelcast4/build.gradle | 2 ++ .../spring-boot-smoke-test-hibernate52/build.gradle | 2 ++ .../spring-boot-smoke-test-integration/build.gradle | 2 ++ .../spring-boot-smoke-test-jersey/build.gradle | 2 ++ .../spring-boot-smoke-test-jetty-jsp/build.gradle | 2 ++ .../spring-boot-smoke-test-jetty-ssl/build.gradle | 2 ++ .../spring-boot-smoke-test-jetty/build.gradle | 2 ++ .../spring-boot-smoke-test-jpa/build.gradle | 2 ++ .../spring-boot-smoke-test-jta-atomikos/build.gradle | 2 ++ .../spring-boot-smoke-test-jta-bitronix/build.gradle | 2 ++ .../spring-boot-smoke-test-junit-jupiter/build.gradle | 2 ++ .../spring-boot-smoke-test-junit-vintage/build.gradle | 2 ++ .../spring-boot-smoke-test-kafka/build.gradle | 2 ++ .../spring-boot-smoke-test-liquibase/build.gradle | 2 ++ .../spring-boot-smoke-test-logback/build.gradle | 2 ++ .../spring-boot-smoke-test-oauth2-client/build.gradle | 2 ++ .../build.gradle | 2 ++ .../spring-boot-smoke-test-parent-context/build.gradle | 2 ++ .../spring-boot-smoke-test-profile/build.gradle | 2 ++ .../spring-boot-smoke-test-property-validation/build.gradle | 2 ++ .../spring-boot-smoke-test-quartz/build.gradle | 2 ++ .../build.gradle | 2 ++ .../build.gradle | 2 ++ .../spring-boot-smoke-test-rsocket/build.gradle | 2 ++ .../build.gradle | 2 ++ .../spring-boot-smoke-test-secure-jersey/build.gradle | 2 ++ .../spring-boot-smoke-test-secure-webflux/build.gradle | 2 ++ .../spring-boot-smoke-test-secure/build.gradle | 2 ++ .../spring-boot-smoke-test-servlet/build.gradle | 1 + .../spring-boot-smoke-test-session-webflux/build.gradle | 2 ++ .../spring-boot-smoke-test-session/build.gradle | 2 ++ .../spring-boot-smoke-test-simple/build.gradle | 2 ++ .../spring-boot-smoke-test-test-nomockito/build.gradle | 2 ++ .../spring-boot-smoke-test-test/build.gradle | 2 ++ .../spring-boot-smoke-test-testng/build.gradle | 2 ++ .../spring-boot-smoke-test-tomcat-jsp/build.gradle | 2 ++ .../build.gradle | 2 ++ .../spring-boot-smoke-test-tomcat-ssl/build.gradle | 2 ++ .../spring-boot-smoke-test-tomcat/build.gradle | 2 ++ .../spring-boot-smoke-test-traditional/build.gradle | 2 ++ .../spring-boot-smoke-test-undertow-ssl/build.gradle | 2 ++ .../spring-boot-smoke-test-undertow/build.gradle | 2 ++ .../spring-boot-smoke-test-war/build.gradle | 2 ++ .../spring-boot-smoke-test-web-freemarker/build.gradle | 2 ++ .../spring-boot-smoke-test-web-groovy-templates/build.gradle | 2 ++ .../spring-boot-smoke-test-web-jsp/build.gradle | 2 ++ .../spring-boot-smoke-test-web-method-security/build.gradle | 2 ++ .../spring-boot-smoke-test-web-mustache/build.gradle | 2 ++ .../spring-boot-smoke-test-web-secure-custom/build.gradle | 2 ++ .../spring-boot-smoke-test-web-secure-jdbc/build.gradle | 2 ++ .../spring-boot-smoke-test-web-secure/build.gradle | 2 ++ .../spring-boot-smoke-test-web-static/build.gradle | 2 ++ .../spring-boot-smoke-test-web-ui/build.gradle | 2 ++ .../spring-boot-smoke-test-webflux-coroutines/build.gradle | 2 ++ .../spring-boot-smoke-test-webflux/build.gradle | 2 ++ .../spring-boot-smoke-test-webservices/build.gradle | 2 ++ .../spring-boot-smoke-test-websocket-jetty/build.gradle | 2 ++ .../spring-boot-smoke-test-websocket-tomcat/build.gradle | 2 ++ .../spring-boot-smoke-test-websocket-undertow/build.gradle | 2 ++ .../spring-boot-smoke-test-xml/build.gradle | 2 ++ 107 files changed, 211 insertions(+), 3 deletions(-) diff --git a/spring-boot-project/spring-boot-cli/build.gradle b/spring-boot-project/spring-boot-cli/build.gradle index d0aa87b86ff..57407dfe185 100644 --- a/spring-boot-project/spring-boot-cli/build.gradle +++ b/spring-boot-project/spring-boot-cli/build.gradle @@ -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")) diff --git a/spring-boot-project/spring-boot-docs/build.gradle b/spring-boot-project/spring-boot-docs/build.gradle index 74db9eb7f54..e18142cf122 100644 --- a/spring-boot-project/spring-boot-docs/build.gradle +++ b/spring-boot-project/spring-boot-docs/build.gradle @@ -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")) diff --git a/spring-boot-project/spring-boot-properties-migrator/build.gradle b/spring-boot-project/spring-boot-properties-migrator/build.gradle index cd9da1f879a..a1362beadc7 100644 --- a/spring-boot-project/spring-boot-properties-migrator/build.gradle +++ b/spring-boot-project/spring-boot-properties-migrator/build.gradle @@ -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 diff --git a/spring-boot-project/spring-boot-tools/spring-boot-antlib/build.gradle b/spring-boot-project/spring-boot-tools/spring-boot-antlib/build.gradle index 5d0e114fc81..3135d39d6bd 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-antlib/build.gradle +++ b/spring-boot-project/spring-boot-tools/spring-boot-antlib/build.gradle @@ -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) { diff --git a/spring-boot-project/spring-boot-tools/spring-boot-autoconfigure-processor/build.gradle b/spring-boot-project/spring-boot-tools/spring-boot-autoconfigure-processor/build.gradle index 800916d04d5..c7f73c8f521 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-autoconfigure-processor/build.gradle +++ b/spring-boot-project/spring-boot-tools/spring-boot-autoconfigure-processor/build.gradle @@ -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") } diff --git a/spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/build.gradle b/spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/build.gradle index 56a9bc77170..2d6b063b7c8 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/build.gradle +++ b/spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/build.gradle @@ -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") } diff --git a/spring-boot-project/spring-boot-tools/spring-boot-configuration-metadata/build.gradle b/spring-boot-project/spring-boot-tools/spring-boot-configuration-metadata/build.gradle index 1ceb415f3b0..7e0a5160b6e 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-configuration-metadata/build.gradle +++ b/spring-boot-project/spring-boot-tools/spring-boot-configuration-metadata/build.gradle @@ -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") } diff --git a/spring-boot-project/spring-boot-tools/spring-boot-configuration-processor/build.gradle b/spring-boot-project/spring-boot-tools/spring-boot-configuration-processor/build.gradle index 92bec3c1d68..15c710657a8 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-configuration-processor/build.gradle +++ b/spring-boot-project/spring-boot-tools/spring-boot-configuration-processor/build.gradle @@ -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") } diff --git a/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/build.gradle b/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/build.gradle index 603ff3916cc..b16e91c3bf1 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/build.gradle +++ b/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/build.gradle @@ -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 { diff --git a/spring-boot-project/spring-boot-tools/spring-boot-jarmode-layertools/build.gradle b/spring-boot-project/spring-boot-tools/spring-boot-jarmode-layertools/build.gradle index b1863cbd7ee..322812dd476 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-jarmode-layertools/build.gradle +++ b/spring-boot-project/spring-boot-tools/spring-boot-jarmode-layertools/build.gradle @@ -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") } diff --git a/spring-boot-project/spring-boot-tools/spring-boot-loader-tools/build.gradle b/spring-boot-project/spring-boot-tools/spring-boot-loader-tools/build.gradle index b48676b56cd..1b6fbdc8dce 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-loader-tools/build.gradle +++ b/spring-boot-project/spring-boot-tools/spring-boot-loader-tools/build.gradle @@ -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 { diff --git a/spring-boot-project/spring-boot-tools/spring-boot-loader/build.gradle b/spring-boot-project/spring-boot-tools/spring-boot-loader/build.gradle index fa85d4849ca..62d85cc26d4 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-loader/build.gradle +++ b/spring-boot-project/spring-boot-tools/spring-boot-loader/build.gradle @@ -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 +} diff --git a/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/build.gradle b/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/build.gradle index 707205a48a6..85b633b8b6e 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/build.gradle +++ b/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/build.gradle @@ -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 { diff --git a/spring-boot-tests/spring-boot-deployment-tests/build.gradle b/spring-boot-tests/spring-boot-deployment-tests/build.gradle index 738f63fcd1e..390b2fdecfd 100644 --- a/spring-boot-tests/spring-boot-deployment-tests/build.gradle +++ b/spring-boot-tests/spring-boot-deployment-tests/build.gradle @@ -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 { diff --git a/spring-boot-tests/spring-boot-integration-tests/spring-boot-configuration-processor-tests/build.gradle b/spring-boot-tests/spring-boot-integration-tests/spring-boot-configuration-processor-tests/build.gradle index d5345ed8988..e65a068f98d 100644 --- a/spring-boot-tests/spring-boot-integration-tests/spring-boot-configuration-processor-tests/build.gradle +++ b/spring-boot-tests/spring-boot-integration-tests/spring-boot-configuration-processor-tests/build.gradle @@ -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 diff --git a/spring-boot-tests/spring-boot-integration-tests/spring-boot-launch-script-tests/build.gradle b/spring-boot-tests/spring-boot-integration-tests/spring-boot-launch-script-tests/build.gradle index 3e26f0e96db..124920dc16e 100644 --- a/spring-boot-tests/spring-boot-integration-tests/spring-boot-launch-script-tests/build.gradle +++ b/spring-boot-tests/spring-boot-integration-tests/spring-boot-launch-script-tests/build.gradle @@ -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) { diff --git a/spring-boot-tests/spring-boot-integration-tests/spring-boot-loader-tests/build.gradle b/spring-boot-tests/spring-boot-integration-tests/spring-boot-loader-tests/build.gradle index 7a39e57c467..7dca5512502 100644 --- a/spring-boot-tests/spring-boot-integration-tests/spring-boot-loader-tests/build.gradle +++ b/spring-boot-tests/spring-boot-integration-tests/spring-boot-loader-tests/build.gradle @@ -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) { diff --git a/spring-boot-tests/spring-boot-integration-tests/spring-boot-server-tests/build.gradle b/spring-boot-tests/spring-boot-integration-tests/spring-boot-server-tests/build.gradle index 51210a79385..437a09e1d62 100644 --- a/spring-boot-tests/spring-boot-integration-tests/spring-boot-server-tests/build.gradle +++ b/spring-boot-tests/spring-boot-integration-tests/spring-boot-server-tests/build.gradle @@ -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) { diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-activemq/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-activemq/build.gradle index aeb28b9cf37..1c6317df0fd 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-activemq/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-activemq/build.gradle @@ -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 diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-actuator-custom-security/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-actuator-custom-security/build.gradle index 1d627427fcd..f3eca092fab 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-actuator-custom-security/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-actuator-custom-security/build.gradle @@ -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 diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-actuator-log4j2/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-actuator-log4j2/build.gradle index 7b970175206..229268cc07e 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-actuator-log4j2/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-actuator-log4j2/build.gradle @@ -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 diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-actuator-noweb/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-actuator-noweb/build.gradle index 4f215d7a02d..1f5f780b9ee 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-actuator-noweb/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-actuator-noweb/build.gradle @@ -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 diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-actuator-ui/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-actuator-ui/build.gradle index 5f1fa1b6221..a8ef9687130 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-actuator-ui/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-actuator-ui/build.gradle @@ -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 diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-actuator/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-actuator/build.gradle index 2e151b5fd01..2b8e634f457 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-actuator/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-actuator/build.gradle @@ -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 diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-amqp/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-amqp/build.gradle index 691266ec9d2..d4d3bf953f2 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-amqp/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-amqp/build.gradle @@ -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 diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-animated-banner/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-animated-banner/build.gradle index 2b029afd222..cde9b42f139 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-animated-banner/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-animated-banner/build.gradle @@ -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 diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-ant/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-ant/build.gradle index 3efb8cdc8ac..0603061ba46 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-ant/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-ant/build.gradle @@ -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) { diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-aop/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-aop/build.gradle index 92fc71db7a0..de33ac75017 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-aop/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-aop/build.gradle @@ -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 diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-atmosphere/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-atmosphere/build.gradle index 27f86bf5db0..f83e76c424f 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-atmosphere/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-atmosphere/build.gradle @@ -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 diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-batch/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-batch/build.gradle index 8ad05121aa9..d88dcf68356 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-batch/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-batch/build.gradle @@ -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 diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-cache/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-cache/build.gradle index 84e14c23b1f..b5fdd75e5cf 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-cache/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-cache/build.gradle @@ -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 } } diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-data-couchbase/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-data-couchbase/build.gradle index 9f4ceffe3cf..9700b96651f 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-data-couchbase/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-data-couchbase/build.gradle @@ -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") } diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-data-elasticsearch/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-data-elasticsearch/build.gradle index 20b46dc9149..4b39e977d13 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-data-elasticsearch/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-data-elasticsearch/build.gradle @@ -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") } diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-data-jdbc/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-data-jdbc/build.gradle index 577447eabf2..73795b04f97 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-data-jdbc/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-data-jdbc/build.gradle @@ -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") } diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-data-jpa/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-data-jpa/build.gradle index d009a1eeb62..6c11ffa51cc 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-data-jpa/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-data-jpa/build.gradle @@ -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") } diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-data-ldap/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-data-ldap/build.gradle index 0c9f1ed18a7..acf2a51047d 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-data-ldap/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-data-ldap/build.gradle @@ -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") } diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-data-mongodb/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-data-mongodb/build.gradle index 1c429284208..59ccf334343 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-data-mongodb/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-data-mongodb/build.gradle @@ -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") } diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-data-neo4j/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-data-neo4j/build.gradle index 233d3efeab1..bfd3e16ce86 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-data-neo4j/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-data-neo4j/build.gradle @@ -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") } diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-data-r2dbc-flyway/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-data-r2dbc-flyway/build.gradle index 020bb3e9d9c..8fb897d2469 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-data-r2dbc-flyway/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-data-r2dbc-flyway/build.gradle @@ -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") } diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-data-r2dbc-liquibase/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-data-r2dbc-liquibase/build.gradle index b5decbc7adb..ea28232ce29 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-data-r2dbc-liquibase/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-data-r2dbc-liquibase/build.gradle @@ -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") } diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-data-r2dbc/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-data-r2dbc/build.gradle index c18db766961..aba0ce25726 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-data-r2dbc/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-data-r2dbc/build.gradle @@ -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") } diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-data-redis/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-data-redis/build.gradle index 2d304c6c05b..5524f19aa6e 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-data-redis/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-data-redis/build.gradle @@ -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") } diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-data-rest/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-data-rest/build.gradle index b0e2be03104..d228f85d939 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-data-rest/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-data-rest/build.gradle @@ -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") } diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-data-solr/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-data-solr/build.gradle index 73765ae56bf..0183beeee91 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-data-solr/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-data-solr/build.gradle @@ -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") } diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-devtools/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-devtools/build.gradle index e27a3d9b4c2..197e81a4c18 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-devtools/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-devtools/build.gradle @@ -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") } diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-flyway/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-flyway/build.gradle index b04bc8a21df..2d67291bb56 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-flyway/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-flyway/build.gradle @@ -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") } diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-hateoas/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-hateoas/build.gradle index e1f47ebeabc..dc0900f09e5 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-hateoas/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-hateoas/build.gradle @@ -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") } diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-hazelcast4/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-hazelcast4/build.gradle index 54d13f0e6b8..4d079e6f083 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-hazelcast4/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-hazelcast4/build.gradle @@ -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") } diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-hibernate52/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-hibernate52/build.gradle index 27369d6dc40..fff415813e7 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-hibernate52/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-hibernate52/build.gradle @@ -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") } diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-integration/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-integration/build.gradle index a0506b33203..75f709e9c3f 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-integration/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-integration/build.gradle @@ -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") } diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-jersey/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-jersey/build.gradle index f93f3fa6d5c..17e90667fb9 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-jersey/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-jersey/build.gradle @@ -15,4 +15,6 @@ dependencies { } testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test")) + + testRuntimeOnly("org.junit.platform:junit-platform-launcher") } diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-jetty-jsp/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-jetty-jsp/build.gradle index 5e16488338c..0ab1d2b0f8b 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-jetty-jsp/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-jetty-jsp/build.gradle @@ -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") } diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-jetty-ssl/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-jetty-ssl/build.gradle index b39afaf3ed4..cef000460df 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-jetty-ssl/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-jetty-ssl/build.gradle @@ -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") } diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-jetty/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-jetty/build.gradle index b204e4a35e3..b7272f158d4 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-jetty/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-jetty/build.gradle @@ -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") } diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-jpa/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-jpa/build.gradle index f571bc0c59c..78717d0e64e 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-jpa/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-jpa/build.gradle @@ -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") } diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-jta-atomikos/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-jta-atomikos/build.gradle index 3af4cc0d3b8..768a8884d2c 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-jta-atomikos/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-jta-atomikos/build.gradle @@ -20,4 +20,6 @@ dependencies { } testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test")) + + testRuntimeOnly("org.junit.platform:junit-platform-launcher") } diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-jta-bitronix/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-jta-bitronix/build.gradle index 55e14c4ede8..24b8b9c154e 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-jta-bitronix/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-jta-bitronix/build.gradle @@ -20,4 +20,6 @@ dependencies { } testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test")) + + testRuntimeOnly("org.junit.platform:junit-platform-launcher") } diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-junit-jupiter/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-junit-jupiter/build.gradle index f9e563f2509..117ee9a8f3a 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-junit-jupiter/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-junit-jupiter/build.gradle @@ -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 { diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-junit-vintage/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-junit-vintage/build.gradle index 8212bce053a..31faa39a56d 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-junit-vintage/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-junit-vintage/build.gradle @@ -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 { diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-kafka/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-kafka/build.gradle index 33a82ff144b..7906ed30eb0 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-kafka/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-kafka/build.gradle @@ -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") } diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-liquibase/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-liquibase/build.gradle index 60ab8957b50..2a44c5ad16a 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-liquibase/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-liquibase/build.gradle @@ -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") } diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-logback/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-logback/build.gradle index d7fced445fe..698eb510e78 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-logback/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-logback/build.gradle @@ -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") } diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-oauth2-client/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-oauth2-client/build.gradle index 9667845a0c9..8156b9371fe 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-oauth2-client/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-oauth2-client/build.gradle @@ -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") } diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-oauth2-resource-server/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-oauth2-resource-server/build.gradle index aa4c5203860..56ea47c5459 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-oauth2-resource-server/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-oauth2-resource-server/build.gradle @@ -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") } diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-parent-context/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-parent-context/build.gradle index 1f174d0bc2b..4df9cda681d 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-parent-context/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-parent-context/build.gradle @@ -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") } diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-profile/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-profile/build.gradle index e85bae25e21..bbffd501f38 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-profile/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-profile/build.gradle @@ -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") } diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-property-validation/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-property-validation/build.gradle index dd6a52edf93..f587ef59129 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-property-validation/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-property-validation/build.gradle @@ -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") } diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-quartz/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-quartz/build.gradle index f1d8cb6bd07..a72c5db2b2f 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-quartz/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-quartz/build.gradle @@ -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") } diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-reactive-oauth2-client/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-reactive-oauth2-client/build.gradle index 890f4288687..55bea7f7160 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-reactive-oauth2-client/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-reactive-oauth2-client/build.gradle @@ -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") } diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-reactive-oauth2-resource-server/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-reactive-oauth2-resource-server/build.gradle index 17d98b4895c..bd0ed8c150f 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-reactive-oauth2-resource-server/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-reactive-oauth2-resource-server/build.gradle @@ -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") } diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-rsocket/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-rsocket/build.gradle index 3194511e54c..d13d8ed2682 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-rsocket/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-rsocket/build.gradle @@ -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") } diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-saml2-service-provider/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-saml2-service-provider/build.gradle index 2a707f22f50..a3eef619ea6 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-saml2-service-provider/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-saml2-service-provider/build.gradle @@ -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") } diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-secure-jersey/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-secure-jersey/build.gradle index f896b2b2468..ea90b135c68 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-secure-jersey/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-secure-jersey/build.gradle @@ -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") } diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-secure-webflux/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-secure-webflux/build.gradle index 08f52a22597..affb797e5cb 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-secure-webflux/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-secure-webflux/build.gradle @@ -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") } diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-secure/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-secure/build.gradle index 13bc2d8953c..40e1ac12f15 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-secure/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-secure/build.gradle @@ -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") } diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-servlet/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-servlet/build.gradle index ae506093417..74a5900f469 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-servlet/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-servlet/build.gradle @@ -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") } diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-session-webflux/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-session-webflux/build.gradle index a90b4f9bc50..4cc5a8fbff7 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-session-webflux/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-session-webflux/build.gradle @@ -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") } diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-session/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-session/build.gradle index bd0ef38690d..eba7d8b5bd6 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-session/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-session/build.gradle @@ -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") } diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-simple/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-simple/build.gradle index d6690b607c4..a1dbf6d4073 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-simple/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-simple/build.gradle @@ -13,4 +13,6 @@ dependencies { } testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test")) + + testRuntimeOnly("org.junit.platform:junit-platform-launcher") } diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-test-nomockito/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-test-nomockito/build.gradle index 40bd131be74..ed7ec90ae52 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-test-nomockito/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-test-nomockito/build.gradle @@ -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") } diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-test/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-test/build.gradle index bf71f2ad8f5..ffb8c84dd0c 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-test/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-test/build.gradle @@ -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") } diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-testng/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-testng/build.gradle index 14bc6715cdd..be4cb7ca522 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-testng/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-testng/build.gradle @@ -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 { diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-tomcat-jsp/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-tomcat-jsp/build.gradle index edfd6c56f8b..ae3644aba47 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-tomcat-jsp/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-tomcat-jsp/build.gradle @@ -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") } diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-tomcat-multi-connectors/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-tomcat-multi-connectors/build.gradle index a5d34881259..4608f2d1072 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-tomcat-multi-connectors/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-tomcat-multi-connectors/build.gradle @@ -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") } diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-tomcat-ssl/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-tomcat-ssl/build.gradle index cf32104bf8d..32060d491c9 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-tomcat-ssl/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-tomcat-ssl/build.gradle @@ -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") } diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-tomcat/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-tomcat/build.gradle index f5839181d10..0bc12f50681 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-tomcat/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-tomcat/build.gradle @@ -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") } diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-traditional/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-traditional/build.gradle index bc16f0a0b81..0a80fcb3678 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-traditional/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-traditional/build.gradle @@ -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") } diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-undertow-ssl/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-undertow-ssl/build.gradle index 2cf550b516f..7c206ffe52d 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-undertow-ssl/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-undertow-ssl/build.gradle @@ -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") } diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-undertow/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-undertow/build.gradle index e125db17898..0bb5a3a4fa3 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-undertow/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-undertow/build.gradle @@ -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") } diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-war/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-war/build.gradle index 6aceb3d640b..1d80b78203a 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-war/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-war/build.gradle @@ -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") } diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-web-freemarker/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-web-freemarker/build.gradle index c734861fd5c..9185a2f3b1e 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-web-freemarker/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-web-freemarker/build.gradle @@ -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") } diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-web-groovy-templates/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-web-groovy-templates/build.gradle index 88e11842cb1..65bdd8d8101 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-web-groovy-templates/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-web-groovy-templates/build.gradle @@ -13,4 +13,6 @@ dependencies { } testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test")) + + testRuntimeOnly("org.junit.platform:junit-platform-launcher") } diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-web-jsp/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-web-jsp/build.gradle index 6c1baf15885..5bf259d6d51 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-web-jsp/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-web-jsp/build.gradle @@ -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") } diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-web-method-security/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-web-method-security/build.gradle index c588cce09dd..af3ac3f1a37 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-web-method-security/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-web-method-security/build.gradle @@ -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") } diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-web-mustache/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-web-mustache/build.gradle index 60950b2e735..1a212f595c7 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-web-mustache/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-web-mustache/build.gradle @@ -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") } diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-web-secure-custom/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-web-secure-custom/build.gradle index 38dd5599c8f..9932c3a295d 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-web-secure-custom/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-web-secure-custom/build.gradle @@ -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") } diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-web-secure-jdbc/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-web-secure-jdbc/build.gradle index 1f9c274153a..5151e2afc04 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-web-secure-jdbc/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-web-secure-jdbc/build.gradle @@ -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") } diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-web-secure/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-web-secure/build.gradle index 8b3a7d1bbf9..55814d61dec 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-web-secure/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-web-secure/build.gradle @@ -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") } diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-web-static/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-web-static/build.gradle index 67236bd4716..753340b96dd 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-web-static/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-web-static/build.gradle @@ -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") } diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-web-ui/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-web-ui/build.gradle index 388be0e26e4..297dcd5dadf 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-web-ui/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-web-ui/build.gradle @@ -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") } diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-webflux-coroutines/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-webflux-coroutines/build.gradle index 8d38e295b89..381c3526441 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-webflux-coroutines/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-webflux-coroutines/build.gradle @@ -27,4 +27,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") } diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-webflux/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-webflux/build.gradle index f0a6461ff72..ec57092fc0b 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-webflux/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-webflux/build.gradle @@ -11,4 +11,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") } diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-webservices/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-webservices/build.gradle index 8fd51c9c9db..a3adf617b9a 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-webservices/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-webservices/build.gradle @@ -17,4 +17,6 @@ dependencies { } testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test")) + + testRuntimeOnly("org.junit.platform:junit-platform-launcher") } diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-websocket-jetty/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-websocket-jetty/build.gradle index 58e1f903b5c..0622ae3e74e 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-websocket-jetty/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-websocket-jetty/build.gradle @@ -12,4 +12,6 @@ dependencies { } testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test")) + + testRuntimeOnly("org.junit.platform:junit-platform-launcher") } diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-websocket-tomcat/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-websocket-tomcat/build.gradle index e15f1c653aa..b973e4c1db0 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-websocket-tomcat/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-websocket-tomcat/build.gradle @@ -9,4 +9,6 @@ dependencies { implementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-websocket")) testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test")) + + testRuntimeOnly("org.junit.platform:junit-platform-launcher") } diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-websocket-undertow/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-websocket-undertow/build.gradle index 9b3d85799f2..9f4dbe00950 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-websocket-undertow/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-websocket-undertow/build.gradle @@ -12,4 +12,6 @@ dependencies { } testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test")) + + testRuntimeOnly("org.junit.platform:junit-platform-launcher") } diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-xml/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-xml/build.gradle index 63103e966c7..8987b7753ab 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-xml/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-xml/build.gradle @@ -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") }