Commits

shemnon  committed 54fd65d

check a default

  • Participants
  • Parent commits 82cc8e5

Comments (0)

Files changed (1)

File gradle-javafx-plugin/src/main/groovy/org/bitbucket/shemnon/javafxplugin/JavaFXPlugin.groovy

     }
 
     public File findJFXJar() {
+        try {
+            assert (project.jfxrtDir != null)
+        } catch (RuntimeException re) {
+            project.jfxrtDir = "."
  1. a_leskiewicz

    Hi, I think this one will causes the following deprecation warning: 'Creating properties on demand (a.k.a. dynamic properties) has been deprecated and is scheduled to be removed in Gradle 2.0. Please read http://gradle.org/docs/current/dsl/org.gradle.api.plugins.ExtraPropertiesExtension.html for information on the replacement for dynamic properties. Deprecated dynamic property: "jfxrtDir" on "root project 'NetIO_desktop'", value: ".".'

    I think You missed an 'ext' here

+        }
+        
         return searchFile([
                     'jfxrtDir in Gradle Properties': {project.jfxrtDir},
                     'JFXRT_HOME in System Environment': {System.env['JFXRT_HOME']},