JAL-3608 Added CrossPlatform LaF and made configurable with the 'laf' system property...
[jalview.git] / build.gradle
index 985cc87..453ad5d 100644 (file)
@@ -1030,6 +1030,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