Commits

shemnon committed bc23399

Why not.... 8.0.0 and JDK 1.8 only!

  • Participants
  • Parent commits 0d62a5d

Comments (0)

Files changed (9)

File gradle-javafx-plugin/build.gradle

 apply plugin: 'maven'
 
 group = 'org.bitbucket.shemnon.javafxplugin'
-version = '0.5.0-SNAPSHOT'
+version = '8.0.0-SNAPSHOT'
 
-if (JavaVersion.current() != JavaVersion.VERSION_1_7) {
-    throw new GradleException("Must Build with Java 1.7")
+if (JavaVersion.current() != JavaVersion.VERSION_1_8) {
+    throw new GradleException("Must Build with Java 1.8")
 }
 
 repositories {

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

 
     public File findJFXJar() {
         return searchFile([
-                    'jfxrtDir in Gradle Properties': {jfxrtDir},
+                    'jfxrtDir in Gradle Properties': {project.jfxrtDir},
                     'JFXRT_HOME in System Environment': {System.env['JFXRT_HOME']},
                     'JAVA_HOME in System Environment': {System.env['JAVA_HOME']},
                     'java.home in JVM properties': {System.properties['java.home']}
 
     public File findAntJavaFXJar() {
         return searchFile([
-                    'jfxrtDir in Gradle Properties': {jfxrtDir},
+                    'jfxrtDir in Gradle Properties': {project.jfxrtDir},
                     'JFXRT_HOME in System Environment': {System.env['JFXRT_HOME']},
                     'JAVA_HOME in System Environment': {System.env['JAVA_HOME']},
                     'java.home in JVM properties': {System.properties['java.home']}

File gradle-javafx-plugin/src/scripts/groovy/javafx.plugin

         }
 
 
-        classpath 'org.bitbucket.shemnon.javafxplugin:gradle-javafx-plugin:0.5.0-SNAPSHOT'
+        classpath 'org.bitbucket.shemnon.javafxplugin:gradle-javafx-plugin:8.0.0-SNAPSHOT'
         classpath project.files(findAntJavaFXJar())
         classpath project.files(findJFXJar())
     }

File samples/ConferenceScheduleApp/javafx.plugin

         }
 
 
-        classpath 'org.bitbucket.shemnon.javafxplugin:gradle-javafx-plugin:0.5.0-SNAPSHOT'
+        classpath 'org.bitbucket.shemnon.javafxplugin:gradle-javafx-plugin:8.0.0-SNAPSHOT'
         classpath project.files(findAntJavaFXJar())
         classpath project.files(findJFXJar())
     }

File samples/FXML-LoginDemo/javafx.plugin

         }
 
 
-        classpath 'org.bitbucket.shemnon.javafxplugin:gradle-javafx-plugin:0.5.0-SNAPSHOT'
+        classpath 'org.bitbucket.shemnon.javafxplugin:gradle-javafx-plugin:8.0.0-SNAPSHOT'
         classpath project.files(findAntJavaFXJar())
         classpath project.files(findJFXJar())
     }

File samples/FullyExpressed/javafx.plugin

         }
 
 
-        classpath 'org.bitbucket.shemnon.javafxplugin:gradle-javafx-plugin:0.5.0-SNAPSHOT'
+        classpath 'org.bitbucket.shemnon.javafxplugin:gradle-javafx-plugin:8.0.0-SNAPSHOT'
         classpath project.files(findAntJavaFXJar())
         classpath project.files(findJFXJar())
     }

File samples/Modena/javafx.plugin

         }
 
 
-        classpath 'org.bitbucket.shemnon.javafxplugin:gradle-javafx-plugin:0.5.0-SNAPSHOT'
+        classpath 'org.bitbucket.shemnon.javafxplugin:gradle-javafx-plugin:8.0.0-SNAPSHOT'
         classpath project.files(findAntJavaFXJar())
         classpath project.files(findJFXJar())
     }

File samples/SwingInterop/javafx.plugin

         }
 
 
-        classpath 'org.bitbucket.shemnon.javafxplugin:gradle-javafx-plugin:0.5.0-SNAPSHOT'
+        classpath 'org.bitbucket.shemnon.javafxplugin:gradle-javafx-plugin:8.0.0-SNAPSHOT'
         classpath project.files(findAntJavaFXJar())
         classpath project.files(findJFXJar())
     }

File samples/brickbreaker/javafx.plugin

         }
 
 
-        classpath 'org.bitbucket.shemnon.javafxplugin:gradle-javafx-plugin:0.5.0-SNAPSHOT'
+        classpath 'org.bitbucket.shemnon.javafxplugin:gradle-javafx-plugin:8.0.0-SNAPSHOT'
         classpath project.files(findAntJavaFXJar())
         classpath project.files(findJFXJar())
     }