I'm maintaining https://fineract.apache.org/docs/current/ ( generated from asciidoc sources in fineract-doc ) and I noticed we're stuck at version 3.3.2 of the gradle asciidoctor plugin. I was hoping to upgrade to 4.0.4. Anyone want to pair on this? I'd love to learn from someone experienced with Gradle.

gradle asciidoctor works, but when I apply the attached upgrade.patch and try to run gradle asciidoctorPdf I get a very confusing error message:

org.jruby.exceptions.LoadError: (LoadError) bad SnakeYAML version 2.3, required 1.21 or higher; check your CLASSPATH for a conflicting jar

Full stacktrace attached (4.0.4-pdf-build-error.txt.gz).

I think we're blocked by one of these:

 * https://github.com/asciidoctor/asciidoctorj-pdf/issues/25
 * https://github.com/jruby/jruby/issues/5573
 * https://github.com/asciidoctor/asciidoctorj-pdf/issues/16

I'm guessing that's why these deps were pinned back in b6ccb0615993e80ea79b80ff0917e3cfda8b7fc1.

--
Adam Monsen
Software Engineer ~ Mifos Initiative
Apache Fineract Release Manager
diff --git a/build.gradle b/build.gradle
index 798060bfc..cc66e57a0 100644
--- a/build.gradle
+++ b/build.gradle
@@ -109,8 +109,8 @@ plugins {
     // https://github.com/asciidoctor/asciidoctorj-pdf/issues/25
     // https://github.com/jruby/jruby/issues/5573
     // https://github.com/asciidoctor/asciidoctorj-pdf/issues/16
-    id 'org.asciidoctor.jvm.convert' version '3.3.2' apply false
-    id 'org.asciidoctor.jvm.pdf' version '3.3.2' apply false
+    id 'org.asciidoctor.jvm.convert' version '4.0.4' apply false
+    id 'org.asciidoctor.jvm.pdf' version '4.0.4' apply false
     id 'com.google.cloud.tools.jib' version '3.4.5' apply false
     id 'org.sonarqube' version '6.0.1.5171'
     id 'com.github.andygoossens.modernizer' version '1.10.0' apply false

Attachment: 4.0.4-pdf-build-error.txt.gz
Description: application/gzip

Reply via email to