git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a6e033
)
JAL-4212 set no-macos-java-icon property if on macos in the testTasks
author
Ben Soares
<b.soares@dundee.ac.uk>
Thu, 22 Jun 2023 11:00:44 +0000
(12:00 +0100)
committer
Ben Soares
<b.soares@dundee.ac.uk>
Thu, 22 Jun 2023 11:00:44 +0000
(12:00 +0100)
build.gradle
patch
|
blob
|
history
diff --git
a/build.gradle
b/build.gradle
index
a47a7fd
..
673cec5
100644
(file)
--- a/
build.gradle
+++ b/
build.gradle
@@
-1834,6
+1834,10
@@
tasks.withType(Test).matching {t -> t.getName().startsWith("testTask")}.all { te
info.events = [ TestLogEvent.FAILED ]
}
+ if (OperatingSystem.current().isMacOsX()) {
+ testTask.systemProperty "apple.awt.UIElement", "true"
+ testTask.environment "JAVA_TOOL_OPTIONS", "-Dapple.awt.UIElement=true"
+ }
ignoreFailures = true // Always try to run all tests for all modules