Commits

shemnon  committed 0e1aeaf

javadoc and sources jar
add rt.jar hack

  • Participants
  • Parent commits 59c5934

Comments (0)

Files changed (2)

File build.gradle

 group = 'org.controlsfx'
 version = '0.0'
 
+configurations {
+    samples.extendsFrom mainRuntime
+    jdk
+}
+
 sourceSets {
+    main {
+        compileClasspath += configurations.jdk
+    }
     samples {
         java {
             compileClasspath += main.output
     }
 }
 
-configurations {
-    samples.extendsFrom mainRuntime
+dependencies {
+    try {
+        jdk files(svJFXRTJar)
+    } catch (MissingPropertyException pne) {
+        jdk files("${System.properties['java.home']}/lib/jfxrt.jar")
+        jdk files("${System.properties['java.home']}/lib/ext/jfxrt.jar")
+    }
 }
 
-dependencies {
-    compile files("${System.properties['java.home']}/lib/jfxrt.jar") // for 1.7 builds
+javadoc {
+    exclude 'impl/*'
 }
 
 task jarSamples (type: Jar) {
     from sourceSets.samples.output
 }
 
+task sourceJar(type: Jar) {
+    from sourceSets.main.java
+    from sourceSets.main.resources
+    classifier = 'sources'
+}
+
+task javadocJar(type: Jar) {
+    dependsOn javadoc
+    from javadoc.destinationDir
+    classifier = 'javadoc'
+}
+
 artifacts {
-    archives jar
+    archives sourceJar
+    archives javadocJar
     archives jarSamples
 }
 

File src/main/java/org/controlsfx/control/RangeSlider.java

     }
     
     /**
-     * Indicates whether the {@link #valueProperty() value} of the {@code Slider} should always
+     * Indicates whether the {@link #lowValueProperty()} value}/{@link #highValueProperty()} value} of the {@code Slider} should always
      * be aligned with the tick marks. This is honored even if the tick marks
      * are not shown.
      */