spring-framework/gradle
Sam Brannen 96e4d3a530 Fail Gradle build for Javadoc warnings
In order to catch Javadoc errors in the build, we now enable the
`Xwerror` flag for the `javadoc` tool. In addition, we now use
`Xdoclint:syntax` instead of `Xdoclint:none` in order to validate
syntax within our Javadoc.

This commit fixes all resulting Javadoc errors and warnings.

This commit also upgrades to Undertow 2.2.12.Final and fixes the
artifact names for exclusions for the Servlet and annotations APIs.

The incorrect exclusion of the Servlet API resulted in the Servlet API
being on the classpath twice for the javadoc task, which resulted in the
following warnings in previous builds.

javadoc: warning - Multiple sources of package comments found for package "javax.servlet"
javadoc: warning - Multiple sources of package comments found for package "javax.servlet.http"
javadoc: warning - Multiple sources of package comments found for package "javax.servlet.descriptor"
javadoc: warning - Multiple sources of package comments found for package "javax.servlet.annotation"

Closes gh-27480
2021-09-29 14:02:37 +02:00
..
wrapper Upgrade to Gradle 7.2 2021-09-13 09:37:35 +02:00
docs-dokka.gradle Fix noHttp failure 2021-09-13 10:14:58 +02:00
docs.gradle Fail Gradle build for Javadoc warnings 2021-09-29 14:02:37 +02:00
ide.gradle Remove Eclipse Web Tools Platform (WTP) configuration 2021-09-21 12:37:51 +02:00
publications.gradle Remove artifactory plugin from build 2020-04-28 14:34:40 +02:00
spring-module.gradle Upgrade to Gradle 7.2 2021-09-13 09:37:35 +02:00
toolchains.gradle Store resolved toolchain info as custom values in build scan 2021-05-05 15:19:27 +02:00