1. shemnon
  2. javafx-gradle

Commits

shemnon  committed 72d747f

better Java 8 check, fix modena class name

  • Participants
  • Parent commits b5aa89a
  • Branches master

Comments (0)

Files changed (2)

File samples/ConferenceScheduleApp/build.gradle

View file
 apply from: 'https://repository-javafx-gradle-plugin.forge.cloudbees.com/snapshot/javafx.plugin'
 
-
 if (!System.getProperty("java.version").matches(/^(1\.)?8.*/)) { //FIXME not the best way, but cloudbees is on an old version of gradle
     throw new GradleException("Java 8 required, ${System.getProperty("java.version")} found")
 }

File samples/Modena/build.gradle

View file
 apply from: 'https://repository-javafx-gradle-plugin.forge.cloudbees.com/snapshot/javafx.plugin'
 
+if (!System.getProperty("java.version").matches(/^(1\.)?8.*/)) { //FIXME not the best way, but cloudbees is on an old version of gradle
+    throw new GradleException("Java 8 required, ${System.getProperty("java.version")} found")
+}
+
 javafx {
-    mainClass = 'swinginterop.SwingInterop'
+    mainClass = 'modena.Modena'
 }