X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=build.gradle;h=365168937eb04cd0d8c7669d95155a1fd2042709;hb=1814154a223744655b17f1be40a0afff4adb41f2;hp=7f19a56c7502f78770916ce6dea2796e5082d169;hpb=06c84c2db67300554884a60f8c844c08028f800e;p=jalview.git diff --git a/build.gradle b/build.gradle index 7f19a56..3651689 100644 --- a/build.gradle +++ b/build.gradle @@ -111,7 +111,7 @@ ext { } //// // Set JALVIEW_VERSION if it is not already set - if (findProperty(JALVIEW_VERSION)==null || "".equals(JALVIEW_VERSION)) { + if (findProperty("JALVIEW_VERSION")==null || "".equals(JALVIEW_VERSION)) { JALVIEW_VERSION = releaseProps.get("jalview.version") } @@ -1220,6 +1220,11 @@ 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 + } sourceCompatibility = compile_source_compatibility targetCompatibility = compile_target_compatibility jvmArgs += additional_compiler_args