X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=build.gradle;h=2c7f1389e00baacb75cdba452b755d11a4854c82;hb=08ea977287323e63781dddf6f461c0011833bcc2;hp=24f1fd9f55096e90c8e93ca8191e637deebd36b4;hpb=6312cb6f6a715162cccd42b952c4801ee39715be;p=jalview.git diff --git a/build.gradle b/build.gradle index 24f1fd9..2c7f138 100644 --- a/build.gradle +++ b/build.gradle @@ -963,6 +963,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