Skip to content

Commit

Permalink
Fix 'open access' build warning in spring-pulsar-docs
Browse files Browse the repository at this point in the history
  • Loading branch information
onobc committed Sep 11, 2022
1 parent 2f7d485 commit ed87f86
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions spring-pulsar-docs/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit ed87f86

Please sign in to comment.