1. shemnon
  2. javafx-gradle

Commits

shemnon  committed 745150f

change java 8 check

  • Participants
  • Parent commits 1e9a075
  • Branches master

Comments (0)

Files changed (1)

File samples/ConferenceScheduleApp/build.gradle

View file
  • Ignore whitespace
 apply from: 'https://repository-javafx-gradle-plugin.forge.cloudbees.com/snapshot/javafx.plugin'
 
-if (!JavaVersion.current().isJava8Compatible()) {
+
+if (!JavaVersion.current().contains('8')) { //FIXME not the best way, but cloudbees is on an old version of gradle
     throw new GradleException("JavaFX 8 required")
 }