File tree Expand file tree Collapse file tree 3 files changed +17
-2
lines changed Expand file tree Collapse file tree 3 files changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,21 @@ subprojects {
38
38
test {
39
39
useJUnitPlatform()
40
40
}
41
+
42
+ javadoc {
43
+ source = sourceSets. main. allJava
44
+ classpath = configurations. compileClasspath
45
+
46
+ options {
47
+ setMemberLevel JavadocMemberLevel . PUBLIC
48
+ setAuthor true
49
+
50
+ links " https://docs.oracle.com/javase/6/docs/api/"
51
+ }
52
+ if (JavaVersion . current(). isJava9Compatible()) {
53
+ options. addBooleanOption(' html4' , true )
54
+ }
55
+ }
41
56
}
42
57
43
58
task wrapper (type : Wrapper ) {
Original file line number Diff line number Diff line change 1
1
import org.gradle.internal.jvm.Jvm
2
2
3
- if (! Jvm . current(). javaVersion . java9Compatible ) {
3
+ if (! JavaVersion . current(). isJava9Compatible() ) {
4
4
apply plugin : ' net.ltgt.errorprone'
5
5
6
6
dependencies {
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ task sourcesJar(type: Jar) {
8
8
9
9
task javadocJar (type : Jar ) {
10
10
classifier ' javadoc'
11
- from javadoc. destinationDir
11
+ from javadoc
12
12
}
13
13
14
14
publishing {
You can’t perform that action at this time.
0 commit comments