From f92db359c8d544de70e3cec06e70ab37923eb9bc Mon Sep 17 00:00:00 2001 From: Anton Keks Date: Tue, 19 Jan 2021 23:16:20 +0200 Subject: [PATCH] do not provide jvmArgs for tests on mac because it doesn't work with gradle, but we want to allow to at least some tests to run --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 4d6067c5..e1374eb0 100644 --- a/build.gradle +++ b/build.gradle @@ -54,7 +54,7 @@ compileJava.options.annotationProcessorGeneratedSourcesDirectory = new File('bui test { if (platform == "mac") { - jvmArgs "-XstartOnFirstThread" + // jvmArgs "-XstartOnFirstThread" println("WARNING: tests that touch GUI will fail on Mac due to Cocoa restrictions and Gradle unable to run tests on main thread") } }