mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Add JVM options to prevent warnings with asciidoctor
See gh-32123
This commit is contained in:
parent
50c099334b
commit
7b4db4cafc
@ -222,12 +222,18 @@ asciidoctor {
|
||||
sources {
|
||||
include "index.adoc"
|
||||
}
|
||||
forkOptions {
|
||||
jvmArgs "--add-opens", "java.base/sun.nio.ch=ALL-UNNAMED", "--add-opens", "java.base/java.io=ALL-UNNAMED"
|
||||
}
|
||||
}
|
||||
|
||||
task asciidoctorPdf(type: org.asciidoctor.gradle.jvm.AsciidoctorTask) {
|
||||
sources {
|
||||
include "index.adoc"
|
||||
}
|
||||
forkOptions {
|
||||
jvmArgs "--add-opens", "java.base/sun.nio.ch=ALL-UNNAMED", "--add-opens", "java.base/java.io=ALL-UNNAMED"
|
||||
}
|
||||
}
|
||||
|
||||
task zip(type: Zip) {
|
||||
|
@ -332,18 +332,27 @@ asciidoctor {
|
||||
sources {
|
||||
include "*.singleadoc"
|
||||
}
|
||||
forkOptions {
|
||||
jvmArgs "--add-opens", "java.base/sun.nio.ch=ALL-UNNAMED", "--add-opens", "java.base/java.io=ALL-UNNAMED"
|
||||
}
|
||||
}
|
||||
|
||||
task asciidoctorPdf(type: org.asciidoctor.gradle.jvm.AsciidoctorTask) {
|
||||
sources {
|
||||
include "*.singleadoc"
|
||||
}
|
||||
forkOptions {
|
||||
jvmArgs "--add-opens", "java.base/sun.nio.ch=ALL-UNNAMED", "--add-opens", "java.base/java.io=ALL-UNNAMED"
|
||||
}
|
||||
}
|
||||
|
||||
task asciidoctorMultipage(type: org.asciidoctor.gradle.jvm.AsciidoctorTask) {
|
||||
sources {
|
||||
include "*.adoc"
|
||||
}
|
||||
forkOptions {
|
||||
jvmArgs "--add-opens", "java.base/sun.nio.ch=ALL-UNNAMED", "--add-opens", "java.base/java.io=ALL-UNNAMED"
|
||||
}
|
||||
}
|
||||
|
||||
syncDocumentationSourceForAsciidoctor {
|
||||
|
@ -79,12 +79,18 @@ asciidoctor {
|
||||
sources {
|
||||
include "index.adoc"
|
||||
}
|
||||
forkOptions {
|
||||
jvmArgs "--add-opens", "java.base/sun.nio.ch=ALL-UNNAMED", "--add-opens", "java.base/java.io=ALL-UNNAMED"
|
||||
}
|
||||
}
|
||||
|
||||
task asciidoctorPdf(type: org.asciidoctor.gradle.jvm.AsciidoctorTask) {
|
||||
sources {
|
||||
include "index.adoc"
|
||||
}
|
||||
forkOptions {
|
||||
jvmArgs "--add-opens", "java.base/sun.nio.ch=ALL-UNNAMED", "--add-opens", "java.base/java.io=ALL-UNNAMED"
|
||||
}
|
||||
}
|
||||
|
||||
javadoc {
|
||||
|
@ -94,12 +94,18 @@ asciidoctor {
|
||||
sources {
|
||||
include "index.adoc"
|
||||
}
|
||||
forkOptions {
|
||||
jvmArgs "--add-opens", "java.base/sun.nio.ch=ALL-UNNAMED", "--add-opens", "java.base/java.io=ALL-UNNAMED"
|
||||
}
|
||||
}
|
||||
|
||||
task asciidoctorPdf(type: org.asciidoctor.gradle.jvm.AsciidoctorTask) {
|
||||
sources {
|
||||
include "index.adoc"
|
||||
}
|
||||
forkOptions {
|
||||
jvmArgs "--add-opens", "java.base/sun.nio.ch=ALL-UNNAMED", "--add-opens", "java.base/java.io=ALL-UNNAMED"
|
||||
}
|
||||
}
|
||||
|
||||
syncDocumentationSourceForAsciidoctorPdf {
|
||||
|
Loading…
Reference in New Issue
Block a user