Skip to content

Commit 49ef150

Browse files
committed
Configure JDK 24 toolchain for aggregated Javadoc
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
1 parent c5e8654 commit 49ef150

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: framework-api/framework-api.gradle

+4
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ dependencies {
2020
}
2121

2222
javadoc {
23+
javadocTool.set(javaToolchains.javadocToolFor({
24+
languageVersion = JavaLanguageVersion.of(24)
25+
}))
26+
2327
title = "${rootProject.description} ${version} API"
2428
options {
2529
encoding = "UTF-8"

0 commit comments

Comments
 (0)