mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Update all dependencies declarations to use the form `scope(reference)` rather than `scope reference`. Prior to this commit we declared dependencies without parentheses unless we were forced to add them due to an `exclude`.
25 lines
530 B
Groovy
25 lines
530 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")
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|