File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
local-build-plugins/src/main/groovy Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -11,15 +11,12 @@ configurations {
1111}
1212
1313dependencies {
14- themezip ' org.hibernate.infra:hibernate-asciidoctor-theme:5.1 .1.Final@zip'
14+ themezip ' org.hibernate.infra:hibernate-asciidoctor-theme:6.0 .1.Final@zip'
1515}
1616
1717tasks. register(' unpackTheme' , Copy ) {
1818 def unpackDir = rootProject. layout. buildDirectory. dir(" unpacked-theme" )
1919
20- onlyIf {
21- ! unpackDir. get(). asFile. exists()
22- }
2320 destinationDir = unpackDir. get(). asFile
2421
2522 def zipFile = configurations. themezip. singleFile
@@ -45,7 +42,7 @@ tasks.withType(Javadoc).configureEach {
4542 docTitle = " Hibernate Javadocs ($project . name : $project . version )"
4643 // Pick the styles for the JDK that is used to "build" the Javadocs:
4744 stylesheetFile = rootProject. layout. buildDirectory. dir(" unpacked-theme" ). get()
48- .dir(" hibernate-asciidoctor-theme" ). dir(" javadoc" ). dir(" jdk21 " ). file(" stylesheet.css" ). asFile
45+ .dir(" hibernate-asciidoctor-theme" ). dir(" javadoc" ). dir(" jdk " + jdkVersions . min . asInt() ). file(" stylesheet.css" ). asFile
4946 bottom = " Copyright © 2001-$currentYear <a href=\" https://redhat.com\" >Red Hat, Inc.</a> All Rights Reserved."
5047
5148 // The javadoc folder contains cached versions of the respective element-list files to avoid release issues when servers are down
You can’t perform that action at this time.
0 commit comments