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.
27 lines
572 B
Groovy
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")
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|