Files

23 lines
561 B
Groovy
Raw Permalink Normal View History

2020-07-09 14:06:37 -05:00
plugins {
id "checkstyle"
2020-10-28 14:20:32 -05:00
id "io.spring.javaformat" version "0.0.25"
id 'io.spring.nohttp' version '0.0.5.RELEASE'
2020-07-09 14:06:37 -05:00
}
allprojects {
apply plugin: 'checkstyle'
apply plugin: 'io.spring.javaformat'
dependencies {
2020-10-28 14:20:32 -05:00
checkstyle "io.spring.javaformat:spring-javaformat-checkstyle:0.0.25"
2020-07-09 14:06:37 -05:00
}
2020-07-27 17:11:01 -05:00
// Ensure every test task has at least a single test
tasks.withType(Test).configureEach {
afterSuite { desc, result ->
if (result.testCount == 0) {
throw new IllegalStateException("No tests were found. Ensure that useJUnitPlatform was used.")
}
}
}
2020-07-09 14:06:37 -05:00
}