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) {
103103 }
104104 }
105105
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+
106112 apply from : " ${ rootDir} /gradle/publishing.gradle"
107113}
Original file line number Diff line number Diff line change @@ -4,12 +4,15 @@ plugins.withType(JavaPlugin) {
44 javadoc {
55 description = " Generates project-level javadoc for use in -javadoc jar"
66
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+ }
1316
1417 // Suppress warnings due to cross-module @see and @link references.
1518 // Note that global 'api' task does display all warnings.
You can’t perform that action at this time.
0 commit comments