Skip to content

Commit 48faf09

Browse files
committed
add JavaDocs
1 parent 8261612 commit 48faf09

File tree

3 files changed

+18
-7
lines changed

3 files changed

+18
-7
lines changed

build.gradle

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,22 +57,34 @@ task sourcesJar(type: Jar) {
5757
from sourceSets.main.allSource
5858
}
5959

60-
task javadoc {
60+
javadoc {
6161
source = sourceSets.main.allJava
62-
classpath = configurations.compile
62+
classpath = configurations.compileClasspath
63+
64+
options
65+
{
66+
setMemberLevel JavadocMemberLevel.PUBLIC
67+
setAuthor true
68+
69+
links "https://docs.oracle.com/javase/8/docs/api/"
70+
}
6371
}
6472

65-
artifacts {
66-
archives sourcesJar
67-
archives javadoc
73+
task packageJavadoc(type: Jar) {
74+
from javadoc
75+
classifier = 'javadoc'
6876
}
6977

7078

79+
80+
7181
publishing {
7282
publications {
7383
mavenJava(MavenPublication) {
7484
from components.java
7585
artifact sourcesJar
86+
artifact packageJavadoc
87+
7688
groupId GROUP
7789
version VERSION_NAME
7890
pom {

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
GROUP=io.reactivex.rxjava2
2-
VERSION_NAME=2.11.0-RC24
2+
VERSION_NAME=2.11.0-RC25
33
POM_NAME=RxJavaFX
44
POM_PACKAGING=jar
55
POM_DESCRIPTION=RxJavaFX

src/main/java/io/reactivex/rxjavafx/observables/JavaFxObservable.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,6 @@ public static <T> Observable<T> removalsOf(final ObservableList<T> source) {
217217
* Creates an observable that emits all updated items from an ObservableList.
218218
* If you declare an ObservableList that listens to one or more properties of each element,
219219
* you can emit the changed items every time these properties are modified
220-
* <pre>ObservableList<Person> sourceList = FXCollections.observableArrayList(user -> new javafx.beans.Observable[]{user.age} );</pre>
221220
* @param source The target ObservableList for the item update events
222221
*
223222
* @return An Observable emitting items updated in the ObservableList

0 commit comments

Comments
 (0)