Skip to content

Commit d0af514

Browse files
committed
Add note regarding aggregated Javadoc toolchain configuration
In commit 49ef150, I stated that the common javadoc task used by all spring-* modules would be addressed in a separate commit. However, after further investigation I determined that the spring-test Javadoc JAR was published successfully, including links to JUnit 5 Javadoc (which was not previously the case). https://repo1.maven.org/maven2/org/springframework/spring-test/7.0.0-M4/spring-test-7.0.0-M4-javadoc.jar This commit therefore only adds a note in JavaConventions to remind us that the aggregated Javadoc toolchain configuration needs to stay in sync with the configuration in JavaConventions. See gh-27497 Closes gh-34774
1 parent 5d31704 commit d0af514

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

buildSrc/src/main/java/org/springframework/build/JavaConventions.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,15 @@ public class JavaConventions {
4242
private static final List<String> TEST_COMPILER_ARGS;
4343

4444
/**
45-
* The Java version we should use as the JVM baseline for building the project
45+
* The Java version we should use as the JVM baseline for building the project.
46+
* <p>NOTE: If you update this value, you should also update the value used in
47+
* the {@code javadoc} task in {@code framework-api.gradle}.
4648
*/
4749
private static final JavaLanguageVersion DEFAULT_LANGUAGE_VERSION = JavaLanguageVersion.of(24);
4850

4951
/**
50-
* The Java version we should use as the baseline for the compiled bytecode (the "-release" compiler argument)
52+
* The Java version we should use as the baseline for the compiled bytecode
53+
* (the "-release" compiler argument).
5154
*/
5255
private static final JavaLanguageVersion DEFAULT_RELEASE_VERSION = JavaLanguageVersion.of(17);
5356

0 commit comments

Comments
 (0)