mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
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
26 lines
753 B
Groovy
26 lines
753 B
Groovy
plugins {
|
|
id "war"
|
|
id "org.springframework.boot.conventions"
|
|
}
|
|
|
|
description = "Spring Boot traditional deployment smoke test"
|
|
|
|
configurations {
|
|
providedRuntime {
|
|
extendsFrom dependencyManagement
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter"))
|
|
implementation("org.springframework:spring-webmvc")
|
|
|
|
providedRuntime(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-tomcat"))
|
|
providedRuntime("org.apache.tomcat.embed:tomcat-embed-jasper")
|
|
|
|
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
|
|
testImplementation("org.apache.httpcomponents:httpclient")
|
|
|
|
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
|
|
}
|