diff --git a/build.gradle b/build.gradle index cab1b6ac..f61a65d5 100644 --- a/build.gradle +++ b/build.gradle @@ -67,7 +67,7 @@ dependencies { } test { - if (platform == "mac") { + if (platform.startsWith("mac")) { // 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") filter {