Source

javafx-gradle / samples / ConferenceScheduleApp / build.gradle

shemnon 9668620 
shemnon a4acabf 
shemnon b5aa89a 
shemnon 49bc6b7 
shemnon 9eef108 

shemnon a4acabf 
shemnon a5ab5fa 
shemnon 9e77be3 
1
2
3
4
5
6
7
8
9
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 = 'com.javafx.experiments.scheduleapp.ConferenceScheduleApp'
}