mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
83f692237d
Closes gh-40153
32 lines
720 B
Groovy
32 lines
720 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"))
|
|
testImplementation("org.junit.vintage:junit-vintage-engine") {
|
|
exclude group: "org.hamcrest", module: "hamcrest-core"
|
|
}
|
|
}
|
|
|
|
test {
|
|
testLogging {
|
|
afterSuite { description, result ->
|
|
if (!description.parent) {
|
|
if (!result.testCount) {
|
|
throw new GradleException("No tests were executed")
|
|
}
|
|
}
|
|
}
|
|
}
|
|
develocity {
|
|
predictiveTestSelection {
|
|
enabled = false
|
|
}
|
|
}
|
|
}
|