Skip to content

Commit fef5fd0

Browse files
committed
add javadoc to the deploy artifacts
1 parent 642bbba commit fef5fd0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

build.gradle

+5-1
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,10 @@ task generateSources() {
6363
compileJava.dependsOn generateSources
6464

6565

66+
javadoc {
67+
options.addStringOption('Xdoclint:html', '-quiet')
68+
}
69+
6670
task javadocJar(type: Jar) {
6771
classifier = 'javadoc'
6872
from javadoc
@@ -76,7 +80,7 @@ task sourcesJar(type: Jar) {
7680

7781

7882
artifacts {
79-
archives sourcesJar
83+
archives sourcesJar, javadocJar
8084
}
8185

8286

0 commit comments

Comments
 (0)