Fix 'open access' build warning in spring-pulsar-docs

This commit is contained in:
Chris Bono
2022-09-11 11:42:50 -05:00
parent 2f7d4851fc
commit ed87f86fcb

View File

@@ -57,6 +57,9 @@ tasks.withType(org.asciidoctor.gradle.jvm.AbstractAsciidoctorTask) {
asciidoctorj {
fatalWarnings = ['^((?!successfully validated).)*$']
}
forkOptions {
jvmArgs "--add-opens", "java.base/sun.nio.ch=ALL-UNNAMED", "--add-opens", "java.base/java.io=ALL-UNNAMED"
}
}
asciidoctor {