X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=build.gradle;h=2c7f1389e00baacb75cdba452b755d11a4854c82;hb=9dba42effb39584c255d94b8154c6f4c0c62df68;hp=f7233f1637beada539d8ab7d45dc7d07fe2817ce;hpb=1072cecb0ae3fbeadfc9065cb4475efa845b7308;p=jalview.git diff --git a/build.gradle b/build.gradle index f7233f1..2c7f138 100644 --- a/build.gradle +++ b/build.gradle @@ -958,6 +958,16 @@ test { workingDir = jalviewDir //systemProperties 'clover.jar' System.properties.clover.jar + def testLaf = project.findProperty("test_laf") + if (testLaf != null) { + 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