mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
939b5dfc26
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
657 B
Groovy
26 lines
657 B
Groovy
plugins {
|
|
id "war"
|
|
id "org.springframework.boot.conventions"
|
|
}
|
|
|
|
description = "Spring Boot web static smoke test"
|
|
|
|
configurations {
|
|
providedRuntime {
|
|
extendsFrom dependencyManagement
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-web"))
|
|
|
|
providedRuntime( project(":spring-boot-project:spring-boot-starters:spring-boot-starter-tomcat"))
|
|
|
|
runtimeOnly("org.webjars:bootstrap:3.0.3")
|
|
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")
|
|
}
|