spring-boot/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-junit-vintage/build.gradle
Andy Wilkinson ce99db1902 Port the build to Gradle
Closes gh-19609
Closes gh-19608
2020-01-10 14:15:35 +00:00

25 lines
536 B
Groovy

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