Commits

shemnon committed 542075e

add more deploy params (not conventional) width, height, embedJNLP, and verbose

  • Participants
  • Parent commits 7bd7773

Comments (0)

Files changed (1)

File plugin/src/main/groovy/com/bitbucket/shemnon/javafxplugin/tasks/JavaFXDeployTask.groovy

                 classpath: (getAntJavaFXJar() + project.files(project.sourceSets.'package'.allSource.srcDirs)).asPath)
 
         ant.fxDeploy(
-                //width:
-                //height:
+                width: getWidth(),
+                height: getHeight(),
                 outDir: getDistsDir(),
-                embedJNLP: true,
+                embedJNLP: getEmbedJNLP(),
                 outFile: getAppName(),
-                nativeBundles: getPackaging()
+                nativeBundles: getPackaging(),
+                verbose: getVerbose()
+
         ) {
 
             application(
 
             }
             info(
-                    title: getAppName()
+                title: getAppName()
             )
 
             permissions(elevated: 'true')
     String appName
     String mainClass
 
+    int width = 1024
+    int height = 768
+    boolean embedJNLP = false
+    boolean verbose = false
+
 
     @InputFiles
     FileCollection inputFiles