fix running of tests on the mac

This commit is contained in:
Anton Keks 2022-01-01 17:20:51 +02:00
parent 689c0278c0
commit 307c8f3ffc

View File

@ -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 {