Fixed testHeadless bug

This commit is contained in:
Banks Troutman
2020-06-12 04:36:19 -04:00
parent 04c30bcbfd
commit 58229b9fe5

View File

@@ -110,15 +110,13 @@ sourceSets {
}
test {
test {
systemProperty "java.awt.headless", System.getProperty("java.awt.headless")
useJUnitPlatform()
}
useJUnitPlatform()
}
task testHeadless(dependsOn: test) {
task testHeadless(type: Test) {
group = 'verification'
test.systemProperty("java.awt.headless", "true")
systemProperty("java.awt.headless", "true")
useJUnitPlatform()
}
spotless {