Open opolo-dao opened 3 months ago
I have found the issue. Running asciidoctorGemsPrepare return more detailed error
oadError: bad SnakeYAML version 2.2, required 1.21 or higher; check your CLASSPATH for a conflicting jar load_ext at org/jruby/ext/jruby/JRubyUtilLibrary.java:216
Other plugin depends on SnakeYAML version 2.2. What to do to to fix it?
I use following config of plugins
id "org.asciidoctor.jvm.base" version "4.0.3" id 'org.asciidoctor.jvm.convert' version '4.0.3' id 'org.asciidoctor.jvm.pdf' version "4.0.3" id 'org.asciidoctor.jvm.gems' version '4.0.3'
After i updated to this version i can't build pdf due Psych YAML error. Execution failed for task ':asciidoctorPdf'.
Task configuration:
asciidoctorPdf { doNotTrackState("Need to run on local machine") sourceDir file('documentation') baseDirFollowsSourceFile() sources { include 'internal/*.adoc', 'external/*.adoc' } outputDir file("$buildDir/docs") resources { from('documentation/**') { include '**.png', '**.jpg' } } }