Open paulbarker opened 3 months ago
It looks like you're using a very old version of Gradle. I believe the plugin requires Gradle 7 at a minimum, if not Gradle 8.
Upgrading Gradle from 5 to 8 may bring additional compatibility issues based on other plugins applied to the build.
Thanks. I'll give that a go. The documentation does say the minimum is Gradle 4.9 so I didn't try changing that previously.
UPDATE: Gave that a go but still can't get it to work. My project uses an older Grails framework (v4) and updating Gradle breaks compatibility with loads of plugins.
If you know which asciidoctor version worked with Gradle 5.6.4 then that would be really useful, otherwise I'll have to give up on asciidoctor and try it again when I've upgraded our project to Grails v6.
UPDATE 2: Found a combination that worked; asciidoctor 3.2.0 and I had to add http://dl.bintray.com/content/aalmiray/asciidoctor
to my buildscript repositories.
When running the gradle asciidoctor build task, I get this error:
asciidoctor gradle plugin: org.asciidoctor.jvm.convert:4.0.3 Gradle: 5.6.4 Groovy: 2.5.4 JVM: 11.0.2 (Oracle Corporation 11.0.2+9) OS: Mac OS X 10.16 x86_64
Possibly I'm doing something wrong but can't figure out what!