Add junit-platform-launcher dependency by convention

Closes gh-25074
pull/25129/head
Andy Wilkinson 4 years ago
parent 630d216430
commit 67479b6380

@ -1,5 +1,5 @@
/*
* Copyright 2012-2020 the original author or authors.
* Copyright 2012-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -59,6 +59,9 @@ import org.springframework.boot.build.testing.TestFailuresPlugin;
* Checkstyle}, {@link TestFailuresPlugin Test Failures}, and {@link TestRetryPlugin Test
* Retry} plugins are applied
* <li>{@link Test} tasks are configured to use JUnit Platform and use a max heap of 1024M
* <li>A {@code testRuntimeOnly} dependency upon
* {@code org.junit.platform:junit-platform-launcher} is added to projects with the
* {@link JavaPlugin} applied
* <li>{@link JavaCompile}, {@link Javadoc}, and {@link FormatTask} tasks are configured
* to use UTF-8 encoding
* <li>{@link JavaCompile} tasks are configured to use {@code -parameters}
@ -139,6 +142,8 @@ class JavaConventions {
test.useJUnitPlatform();
test.setMaxHeapSize("1024M");
});
project.getPlugins().withType(JavaPlugin.class, (javaPlugin) -> project.getDependencies()
.add(JavaPlugin.TEST_RUNTIME_ONLY_CONFIGURATION_NAME, "org.junit.platform:junit-platform-launcher"));
project.getPlugins().apply(TestRetryPlugin.class);
project.getTasks().withType(Test.class,
(test) -> project.getPlugins().withType(TestRetryPlugin.class, (testRetryPlugin) -> {

@ -141,7 +141,6 @@ dependencies {
testImplementation("org.springframework.security:spring-security-test")
testImplementation("org.yaml:snakeyaml")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
testRuntimeOnly("org.springframework.security:spring-security-oauth2-jose")
testRuntimeOnly("org.springframework.security:spring-security-oauth2-resource-server")
testRuntimeOnly("org.springframework.security:spring-security-saml2-service-provider")

@ -87,6 +87,5 @@ dependencies {
testRuntimeOnly("javax.xml.bind:jaxb-api")
testRuntimeOnly("org.apache.tomcat.embed:tomcat-embed-el")
testRuntimeOnly("org.glassfish.jersey.ext:jersey-spring5")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
testRuntimeOnly("org.hsqldb:hsqldb")
}

@ -186,5 +186,4 @@ dependencies {
testImplementation("org.yaml:snakeyaml")
testRuntimeOnly("org.jetbrains.kotlin:kotlin-reflect")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}

@ -65,8 +65,6 @@ 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"))

@ -72,7 +72,6 @@ dependencies {
testImplementation("org.thymeleaf:thymeleaf-spring5")
testImplementation("nz.net.ultraq.thymeleaf:thymeleaf-layout-dialect")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
testRuntimeOnly("org.yaml:snakeyaml")
}

@ -101,7 +101,6 @@ 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,6 +14,4 @@ dependencies {
testImplementation("org.junit.jupiter:junit-jupiter")
testImplementation("org.assertj:assertj-core")
testImplementation("org.springframework:spring-test")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}

@ -79,8 +79,6 @@ dependencies {
testImplementation("org.testcontainers:neo4j")
testImplementation("org.testcontainers:testcontainers")
testImplementation("org.thymeleaf:thymeleaf")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
configurations {

@ -48,7 +48,6 @@ dependencies {
testImplementation("org.springframework:spring-webmvc")
testImplementation("org.testng:testng")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
testRuntimeOnly("org.junit.vintage:junit-vintage-engine")
}

@ -24,8 +24,6 @@ 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,6 +12,4 @@ dependencies {
testImplementation("org.assertj:assertj-core")
testImplementation("org.springframework:spring-core")
testImplementation("org.junit.jupiter:junit-jupiter")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}

@ -23,6 +23,4 @@ dependencies {
testImplementation("org.mockito:mockito-core")
testImplementation("org.mockito:mockito-junit-jupiter")
testImplementation("org.skyscreamer:jsonassert")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}

@ -14,6 +14,4 @@ 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,6 +24,4 @@ dependencies {
testImplementation("org.mockito:mockito-core")
testImplementation("org.projectlombok:lombok")
testImplementation("org.springframework:spring-core")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}

@ -42,8 +42,6 @@ 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,6 +13,4 @@ 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,8 +31,6 @@ 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,7 +18,6 @@ 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")
}

@ -40,8 +40,6 @@ dependencies {
testImplementation("org.junit.jupiter:junit-jupiter")
testImplementation("org.mockito:mockito-core")
testImplementation("org.springframework:spring-core")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
task syncSpringBootDependenciesBom(type: Sync) {

@ -35,5 +35,4 @@ dependencies {
testImplementation("org.springframework:spring-context")
testRuntimeOnly("org.hibernate.validator:hibernate-validator")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}

@ -102,7 +102,6 @@ dependencies {
testImplementation("org.springframework.data:spring-data-r2dbc")
testImplementation("org.xerial:sqlite-jdbc")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
testRuntimeOnly("org.testcontainers:jdbc") {
exclude group: "javax.annotation", module: "javax.annotation-api"
exclude group: "javax.xml.bind", module: "jaxb-api"

@ -27,8 +27,6 @@ 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,6 +14,4 @@ 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")
}

@ -19,8 +19,6 @@ 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,8 +20,6 @@ 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,7 +34,6 @@ 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,6 +9,4 @@ 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")
}

@ -16,5 +16,4 @@ 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")
}

@ -17,6 +17,4 @@ 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")
}

@ -11,6 +11,4 @@ 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")
}

@ -12,6 +12,4 @@ 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")
}

@ -15,7 +15,5 @@ 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")
}

@ -7,6 +7,4 @@ 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")
}

@ -7,6 +7,4 @@ 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")
}

@ -37,8 +37,6 @@ 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,6 +9,4 @@ 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")
}

@ -14,6 +14,4 @@ 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")
}

@ -11,6 +11,4 @@ dependencies {
runtimeOnly("org.hsqldb:hsqldb")
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}

@ -39,8 +39,6 @@ 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,6 +9,4 @@ 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,6 +9,4 @@ 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,6 +12,4 @@ 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,6 +13,4 @@ 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,6 +11,4 @@ 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,6 +11,4 @@ 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,6 +9,4 @@ 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,6 +21,4 @@ dependencies {
testImplementation("io.projectreactor:reactor-test")
testImplementation("org.testcontainers:junit-jupiter")
testImplementation("org.testcontainers:postgresql")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}

@ -21,6 +21,4 @@ dependencies {
testImplementation("io.projectreactor:reactor-test")
testImplementation("org.testcontainers:junit-jupiter")
testImplementation("org.testcontainers:postgresql")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}

@ -13,6 +13,4 @@ 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,6 +9,4 @@ 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,5 +17,4 @@ 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,6 +9,4 @@ 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,6 +17,4 @@ 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,6 +14,4 @@ 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,6 +9,4 @@ 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,6 +21,4 @@ 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,6 +19,4 @@ 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,6 +13,4 @@ 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,6 +15,4 @@ dependencies {
}
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}

@ -27,6 +27,4 @@ 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,6 +14,4 @@ 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,6 +12,4 @@ 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,6 +22,4 @@ 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,6 +20,4 @@ dependencies {
}
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}

@ -20,6 +20,4 @@ dependencies {
}
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}

@ -11,8 +11,6 @@ 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,8 +9,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")
}
test {

@ -12,6 +12,4 @@ 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,6 +14,4 @@ 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,6 +9,4 @@ 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,6 +11,4 @@ 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,6 +11,4 @@ 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,6 +12,4 @@ 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,6 +9,4 @@ 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,6 +11,4 @@ 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,6 +13,4 @@ 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,6 +12,4 @@ 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,6 +11,4 @@ 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,6 +12,4 @@ 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,6 +11,4 @@ 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,6 +12,4 @@ 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,6 +12,4 @@ 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,6 +9,4 @@ 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,5 +13,4 @@ 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,6 +24,4 @@ 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,6 +33,4 @@ 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,6 +13,4 @@ dependencies {
}
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}

@ -15,6 +15,4 @@ 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,6 +15,4 @@ 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,8 +14,6 @@ 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,6 +19,4 @@ 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,6 +10,4 @@ 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,6 +10,4 @@ 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,6 +11,4 @@ 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,6 +20,4 @@ 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,6 +13,4 @@ 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,6 +12,4 @@ 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,6 +19,4 @@ 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,6 +10,4 @@ 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")
}

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save