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 { @@ -113,16 +113,19 @@ asciidoctor {
sources {
include '*.adoc'
}
outputDir "$buildDir/docs/ref-docs/html5"
outputOptions {
backends "spring-html"
}
logDocuments = true
resources {
from(sourceDir) {
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"
@ -246,7 +249,6 @@ task distZip(type: Zip, dependsOn: [docsZip, schemaZip]) { @@ -246,7 +249,6 @@ task distZip(type: Zip, dependsOn: [docsZip, schemaZip]) {
distZip.mustRunAfter moduleProjects.check
publishing {
publications {
mavenJava(MavenPublication) {
@ -255,4 +257,4 @@ publishing { @@ -255,4 +257,4 @@ publishing {
artifact distZip
}
}
}
}

Loading…
Cancel
Save