From aa5a2a860045b84457f8b6e596ebb54cf8863d36 Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Tue, 19 Oct 2021 16:42:22 +0200 Subject: [PATCH] Disable custom stylesheet for Javadoc The custom stylesheet used with JDK 8 no longer works with JDK 17. Thus in order to make the generated Javadoc usable, we are disabling the custom stylesheet for the time being. See gh-27496 --- gradle/docs.gradle | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gradle/docs.gradle b/gradle/docs.gradle index c9bc905303..fb7ad3d006 100644 --- a/gradle/docs.gradle +++ b/gradle/docs.gradle @@ -43,7 +43,8 @@ task api(type: Javadoc) { header = rootProject.description use = true overview = "src/docs/api/overview.html" - stylesheetFile = file("src/docs/api/stylesheet.css") + // Disable custom stylesheet until we resolve https://github.com/spring-projects/spring-framework/issues/27496 + // stylesheetFile = file("src/docs/api/stylesheet.css") splitIndex = true links(project.ext.javadocLinks) addBooleanOption('Xdoclint:syntax', true) // only check syntax with doclint