We cross an issue in Apache OFBiz that could be related. It was working correctly before we switched from org.asciidoctor.gradle.AsciidoctorTask (and related) to org.asciidoctor.gradle.jvm.AsciidoctorTask:
https://github.com/apache/ofbiz-framework/commit/e248654735.
Hi,
I have also reported this issue at https://github.com/asciidoctor/asciidoctorj/issues/739 with this description:
TIA for any information