Configure JDK 24 toolchain for aggregated Javadoc
Build and Deploy Snapshot / Build and Deploy Snapshot (push) Waiting to run Details
Build and Deploy Snapshot / Verify (push) Blocked by required conditions Details
Deploy Docs / Dispatch docs deployment (push) Waiting to run Details

Changes made in conjunction with #27497 now require that we generate
Javadoc with JDK 18 or higher in order to make use of the
"--link-modularity-mismatch" flag for the javadoc executable.

This commit sets the toolchain for the javadoc task in the
framework-api module to use JDK 24 for generating Javadoc.

The common javadoc task used by all spring-* modules will be addressed
in a separate commit.

See gh-27497
See gh-34774
This commit is contained in:
Sam Brannen 2025-04-17 18:12:06 +02:00
parent c5e865494e
commit 49ef150c5d
1 changed files with 4 additions and 0 deletions

View File

@ -20,6 +20,10 @@ dependencies {
}
javadoc {
javadocTool.set(javaToolchains.javadocToolFor({
languageVersion = JavaLanguageVersion.of(24)
}))
title = "${rootProject.description} ${version} API"
options {
encoding = "UTF-8"