Run glassfish tests with headless
@@ -12,3 +12,7 @@ dependencies {
testLibrary group: 'org.glassfish.main.extras', name: 'glassfish-embedded-all', version: '4.0'
}
+
+tasks.withType(Test) {
+ jvmArgs "-Djava.awt.headless=true"
+}
