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
This commit is contained in:
Phillip Webb
2021-02-01 15:28:20 -08:00
parent 3585d20453
commit 939b5dfc26
107 changed files with 211 additions and 3 deletions

View File

@@ -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) {