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:
c4801cf
)
JAL-3609 Allow pass-through of setHiDPIScale property to tests via (e.g.) gradle...
author
Ben Soares
<b.soares@dundee.ac.uk>
Wed, 1 Jul 2020 14:37:35 +0000
(15:37 +0100)
committer
Ben Soares
<b.soares@dundee.ac.uk>
Fri, 6 Nov 2020 15:51:30 +0000
(15:51 +0000)
build.gradle
patch
|
blob
|
history
diff --git
a/build.gradle
b/build.gradle
index
c3e89e5
..
d7382cb
100644
(file)
--- a/
build.gradle
+++ b/
build.gradle
@@
-1284,6
+1284,11
@@
test {
println("Setting Test LaF to '${testLaf}'")
systemProperty "laf", testLaf
}
println("Setting Test LaF to '${testLaf}'")
systemProperty "laf", testLaf
}
+ def testHiDPIScale = project.findProperty("test_HiDPIScale")
+ if (testHiDPIScale != null) {
+ println("Setting Test HiDPI Scale to '${testHiDPIScale}'")
+ systemProperty "sun.java2d.uiScale", testHiDPIScale
+ }
sourceCompatibility = compile_source_compatibility
targetCompatibility = compile_target_compatibility
jvmArgs += additional_compiler_args
sourceCompatibility = compile_source_compatibility
targetCompatibility = compile_target_compatibility
jvmArgs += additional_compiler_args