Polish ref docs build

This commit is contained in:
Sam Brannen 2022-12-04 22:35:04 -05:00
parent 9779d25d98
commit 63d841664c
1 changed files with 9 additions and 7 deletions

View File

@ -113,16 +113,19 @@ asciidoctor {
sources { sources {
include '*.adoc' include '*.adoc'
} }
outputDir "$buildDir/docs/ref-docs/html5"
outputOptions {
backends "spring-html"
}
logDocuments = true
resources { resources {
from(sourceDir) { from(sourceDir) {
include 'images/*.png' include 'images/*.png'
} }
} }
outputDir "$buildDir/docs/ref-docs/html5"
outputOptions {
backends "spring-html"
}
forkOptions {
jvmArgs += ["--add-opens", "java.base/sun.nio.ch=ALL-UNNAMED", "--add-opens", "java.base/java.io=ALL-UNNAMED"]
}
logDocuments = true
} }
asciidoctor.mustRunAfter "check" asciidoctor.mustRunAfter "check"
@ -246,7 +249,6 @@ task distZip(type: Zip, dependsOn: [docsZip, schemaZip]) {
distZip.mustRunAfter moduleProjects.check distZip.mustRunAfter moduleProjects.check
publishing { publishing {
publications { publications {
mavenJava(MavenPublication) { mavenJava(MavenPublication) {
@ -255,4 +257,4 @@ publishing {
artifact distZip artifact distZip
} }
} }
} }