spring-boot/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-web-static/build.gradle
Phillip Webb 939b5dfc26 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
2021-02-01 15:31:28 -08:00

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")
}