Browse Source

Polish ref docs build

pull/29640/head
Sam Brannen 3 years ago
parent
commit
63d841664c
  1. 16
      framework-docs/framework-docs.gradle

16
framework-docs/framework-docs.gradle

@ -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
} }
} }
} }

Loading…
Cancel
Save