X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=build.gradle;h=db1b53364fda582682f7aaec8c782b6d69aeeb9b;hb=132fa48b35a4821ca0d8e241ba27989e573e61e5;hp=71dae0fd4b20f5e6278e09979c9a53629903ca0a;hpb=e305cfe169bc0ba6ee04f78b7720ca985392f114;p=jalview.git diff --git a/build.gradle b/build.gradle index 71dae0f..db1b533 100644 --- a/build.gradle +++ b/build.gradle @@ -1311,6 +1311,11 @@ test { 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