This is an automated email from the ASF dual-hosted git repository.

paulk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy-geb.git


The following commit(s) were added to refs/heads/master by this push:
     new b6abddc8 minor refactor: remove build warning by allowing nio access 
for asciidoctor
b6abddc8 is described below

commit b6abddc8973342f39f7f3398270a9a4b5c65bf6f
Author: Paul King <[email protected]>
AuthorDate: Sun Dec 15 12:07:25 2024 +1000

    minor refactor: remove build warning by allowing nio access for asciidoctor
---
 doc/manual/manual.gradle | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/doc/manual/manual.gradle b/doc/manual/manual.gradle
index 7b82d4e3..3423bd61 100644
--- a/doc/manual/manual.gradle
+++ b/doc/manual/manual.gradle
@@ -106,6 +106,12 @@ asciidoctorj {
     docExtensions project(":doc:asciidoctor-extension")
 }
 
+asciidoctor {
+    forkOptions {
+        jvmArgs("--add-opens", "java.base/sun.nio.ch=ALL-UNNAMED", 
"--add-opens", "java.base/java.io=ALL-UNNAMED")
+    }
+}
+
 tasks.named("asciidoctor") {
     sources {
         include 'index.adoc'

Reply via email to