Skip to content

Commit d6eedd5

Browse files
committed
Update Javadoc theme to support more recent JDK versions
1 parent fb91202 commit d6eedd5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

gradle.properties

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ org.gradle.java.installations.auto-download=false
2727

2828
# externalized definition of JDK versions so that they are available in both Project (build.gradle) and Settings (settings.gradle)
2929
orm.jdk.base=17
30-
orm.jdk.min=21
30+
orm.jdk.min=23
3131
# See gradlew/wrapper/gradle-wrapper.properties, https://docs.gradle.org/current/userguide/compatibility.html#java_runtime
32-
orm.jdk.max=22
32+
orm.jdk.max=24
3333

3434
# The minimum version of Gradle supported for the ORM Gradle plugin.
3535
# This is the version used in the plugin tests, used to make sure we do not break compatibility.
3636
# See `org.hibernate.orm.tooling.gradle.TestHelper`
37-
orm.gradle.min=8.14
37+
orm.gradle.min=8.14

local-build-plugins/src/main/groovy/local.javadoc.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ tasks.withType(Javadoc).configureEach {
4545
docTitle = "Hibernate Javadocs ($project.name : $project.version)"
4646
// Pick the styles for the JDK that is used to "build" the Javadocs:
4747
stylesheetFile = rootProject.layout.buildDirectory.dir("unpacked-theme").get()
48-
.dir("hibernate-asciidoctor-theme").dir("javadoc").dir("jdk21").file("stylesheet.css").asFile
48+
.dir("hibernate-asciidoctor-theme").dir("javadoc").dir("jdk"+jdkVersions.min.asInt()).file("stylesheet.css").asFile
4949
bottom = "Copyright &copy; 2001-$currentYear <a href=\"https://redhat.com\">Red Hat, Inc.</a> All Rights Reserved."
5050

5151
// The javadoc folder contains cached versions of the respective element-list files to avoid release issues when servers are down

0 commit comments

Comments
 (0)