Commits

Jonathan Giles committed 12f06e7

Added support for specifying the location of jfxrt.jar via the jfxrtJar variable (which for me is specified in my .gradle/gradle.properties file).

Comments (0)

Files changed (1)

 apply plugin: 'maven'
 
 group = 'org.controlsfx'
-version = '0.0'
+version = '8.0.0-developer-preview-1'
 
 sourceSets {
     samples {
 }
 
 dependencies {
-    compile files("${System.properties['java.home']}/lib/jfxrt.jar") // for 1.7 builds
+    try {
+        compile files(jfxrtJar)
+    } catch (MissingPropertyException pne) {
+        compile files("${System.properties['java.home']}/lib/ext/jfxrt.jar")
+    }
 }
 
 task jarSamples (type: Jar) {