Source

javafx-gradle / gradle-javafx-plugin / src / main / groovy / org / bitbucket / shemnon / javafxplugin / tasks / JavaFXDeployTask.groovy

Diff from to

gradle-javafx-plugin/src/main/groovy/org/bitbucket/shemnon/javafxplugin/tasks/JavaFXDeployTask.groovy

     Map<String, String> systemProperties = [:]
     List<String> arguments = []
 
+    File javaRuntime
+
     // deploy/info attributes
     String category
     String copyright
         getSystemProperties().each {k, v -> deployParams.addJvmProperty(k, v)}
         deployParams.arguments = getArguments()
 
+        if (getJavaRuntime() != null) {
+            deployParams.javaRuntimeSource = getJavaRuntime()
+        }
+
         File packageResourcesOutput = project.sourceSets['package'].output.resourcesDir
         processIcons(packageResourcesOutput)