Skip to content

Commit 52f325d

Browse files
committed
Fix javadoc Gradle task
This commit refines the javadoc options and removes aspectj broken link. See gh-34220
1 parent 262a313 commit 52f325d

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

build.gradle

-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ configure([rootProject] + javaProjects) { project ->
8686
"https://docs.oracle.com/en/java/javase/17/docs/api/",
8787
"https://jakarta.ee/specifications/platform/11/apidocs/",
8888
"https://docs.jboss.org/hibernate/orm/5.6/javadocs/",
89-
"https://eclipse.dev/aspectj/doc/released/aspectj5rt-api",
9089
"https://www.quartz-scheduler.org/api/2.3.0/",
9190
"https://fasterxml.github.io/jackson-core/javadoc/2.14/",
9291
"https://fasterxml.github.io/jackson-databind/javadoc/2.14/",

gradle/spring-module.gradle

+3-3
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,9 @@ javadoc {
7676
options.header = project.name
7777
options.use = true
7878
options.links(project.ext.javadocLinks)
79-
// Check for syntax during linting. 'none' doesn't seem to work in suppressing
80-
// all linting warnings all the time (see/link references most notably).
81-
options.addStringOption("Xdoclint:syntax", "-quiet")
79+
// Check for syntax during linting.
80+
options.setOutputLevel(JavadocOutputLevel.QUIET)
81+
options.addBooleanOption("Xdoclint:syntax", true)
8282

8383
// Suppress warnings due to cross-module @see and @link references.
8484
// Note that global 'api' task does display all warnings, and

0 commit comments

Comments
 (0)