Now I was even able to reproduce the problem that the Ruby resources are not found:
I first put the jar with the ant task into ant/lib. And all jars in this directory get automatically added to the TCCL!
Referencing it with the classpath attribute revealed the problem.
…lassloader to create()
This PR changes the way the Asciidoctor instance is created according to the discussion around https://github.com/asciidoctor/asciidoctorj/pull/340
Now I was even able to reproduce the problem that the Ruby resources are not found: I first put the jar with the ant task into ant/lib. And all jars in this directory get automatically added to the TCCL! Referencing it with the classpath attribute revealed the problem.