Browse Source

Fix javadoc Gradle task

This commit refines the javadoc options and removes aspectj broken link.

See gh-34220
pull/34230/head
Sébastien Deleuze 11 months ago
parent
commit
52f325db82
  1. 1
      build.gradle
  2. 6
      gradle/spring-module.gradle

1
build.gradle

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

6
gradle/spring-module.gradle

@ -76,9 +76,9 @@ javadoc { @@ -76,9 +76,9 @@ javadoc {
options.header = project.name
options.use = true
options.links(project.ext.javadocLinks)
// Check for syntax during linting. 'none' doesn't seem to work in suppressing
// all linting warnings all the time (see/link references most notably).
options.addStringOption("Xdoclint:syntax", "-quiet")
// Check for syntax during linting.
options.setOutputLevel(JavadocOutputLevel.QUIET)
options.addBooleanOption("Xdoclint:syntax", true)
// Suppress warnings due to cross-module @see and @link references.
// Note that global 'api' task does display all warnings, and

Loading…
Cancel
Save