Add testHeadless gradle task to skip showing test images

This commit is contained in:
Banks Troutman
2020-06-12 04:22:44 -04:00
parent 0b09e72771
commit 04c30bcbfd

View File

@@ -111,10 +111,16 @@ sourceSets {
test {
test {
systemProperty "java.awt.headless", System.getProperty("java.awt.headless")
useJUnitPlatform()
}
}
task testHeadless(dependsOn: test) {
group = 'verification'
test.systemProperty("java.awt.headless", "true")
}
spotless {
java {
googleJavaFormat()