X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=build.gradle;h=2c7f1389e00baacb75cdba452b755d11a4854c82;hb=39b0c159b6853cd74d5ef79dac0409853da6f778;hp=24f1fd9f55096e90c8e93ca8191e637deebd36b4;hpb=6e2b4ee8fb9bdb978087ed19516bfd8d7f00f544;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