File tree Expand file tree Collapse file tree 2 files changed +15
-6
lines changed Expand file tree Collapse file tree 2 files changed +15
-6
lines changed Original file line number Diff line number Diff line change @@ -103,5 +103,11 @@ configure(moduleProjects) {
103
103
}
104
104
}
105
105
106
+ ext. javadocLinks = [
107
+ " https://docs.oracle.com/javase/8/docs/api/" ,
108
+ " https://docs.spring.io/spring-framework/docs/5.3.x/javadoc-api/" ,
109
+ " https://javadoc.io/doc/com.graphql-java/graphql-java/17.3/"
110
+ ] as String []
111
+
106
112
apply from : " ${ rootDir} /gradle/publishing.gradle"
107
113
}
Original file line number Diff line number Diff line change @@ -4,12 +4,15 @@ plugins.withType(JavaPlugin) {
4
4
javadoc {
5
5
description = " Generates project-level javadoc for use in -javadoc jar"
6
6
7
- options. encoding = " UTF-8"
8
- options. memberLevel = JavadocMemberLevel . PROTECTED
9
- options. author = true
10
- options. header = project. name
11
- options. use = true
12
- options. addStringOption(" Xdoclint:none" , " -quiet" )
7
+ options {
8
+ encoding = " UTF-8"
9
+ memberLevel = JavadocMemberLevel . PROTECTED
10
+ author = true
11
+ header = project. name
12
+ use = true
13
+ links = project. ext. javadocLinks
14
+ addStringOption(" Xdoclint:none" , " -quiet" )
15
+ }
13
16
14
17
// Suppress warnings due to cross-module @see and @link references.
15
18
// Note that global 'api' task does display all warnings.
You can’t perform that action at this time.
0 commit comments