Closed programming-wolf closed 1 year ago
I'd recommend opening a ticket for https://github.com/asciidoctor/asciidoctor-gradle-plugin. AsciidoctorJ and AsciidoctorJ-PDF are generally tested with Java 16, so I would assume that there is either a configuration problem in this gradle build, or some incompatibility with the plugin and the latest grade and java versions.
I upgrade to Gradle 7.1 and Java 16. This brought a bunch of issues, which I could correct except one. Everything worked fine with Gradle 6.8, Java 14 and
asciidoctor.convert
1.5.4.Originally, I had errors stating that I need to pass
--add-opensjava.base/sun.nio.ch=ALL-UNNAMED...
to the process. I figured that out (with that issue as help). Now it says:org.jruby.exceptions.LoadError: (LoadError) no such file to load -- asciidoctor-pdf
, causingError running Asciidoctor whilst attempting to process /path/to/curriculum-template.adoc using backend pdf
(I don't know if that's an issue with this plugin or with jRuby, or asciidoctorj).
Here's my gradle file (I removed some stuff that's not required):
Any help would be appreciated. Thanks!