You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
spring-boot/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-juni.../build.gradle

27 lines
572 B
Groovy

plugins {
id "java"
id "org.springframework.boot.conventions"
}
description = "Spring Boot JUnit Jupiter smoke test"
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")) {
exclude group: "org.junit.vintage"
}
}
test {
testLogging {
afterSuite { description, result ->
if (!description.parent) {
if (!result.testCount) {
throw new GradleException("No tests were executed")
}
}
}
}
}