1. shemnon
  2. javafx-gradle

Commits

a_leskiewicz  committed 2d3a716

Assign 'jfxrtDir' to 'project.ext' instead of 'project'.

Fixes deprecation warning about dynamic properties, when project doesn't
have 'jfxrtDir' specified in gradle properties

  • Participants
  • Parent commits 5985636
  • Branches master

Comments (0)

Files changed (1)

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

View file
  • Ignore whitespace
         try {
             assert (project.jfxrtDir != null)
         } catch (RuntimeException re) {
-            project.jfxrtDir = "."
+            project.ext.jfxrtDir = "."
         }
         
         return searchFile([