asciidoctor-gradle-plugin
asciidoctor-gradle-plugin copied to clipboard
Gradle build fails with message about dependency resolution
I am attempting to use gradle to process an Asciidoctor set of documentation. All attempts have failed thus far. I have simplified the project down the most basic build.gradle file, yet it seems to continue to fail. Is this a bug or what am I doing wrong?
A very basic gradle buld file imports correctly, but the task "asciidoctor" fails with the message:
Resolving dependency configuration '__$$asciidoctorj$$_d' is not allowed as it is defined as 'canBeResolved=false'. Instead, a resolvable ('canBeResolved=true') dependency configuration that extends '$$asciidoctorj$$___d' should be resolved.
Gradle version is 8.12, JVM is Azul 11.0.25 The build file is:
plugins { id 'org.asciidoctor.jvm.convert' version '4.0.1' id 'org.asciidoctor.jvm.pdf' version '4.0.1' }
repositories { mavenCentral() } asciidoctorj { // Global configuration }
asciidoctor { asciidoctorj { // local customisation for HTML conversion } }
asciidoctorPdf { asciidoctorj { // local customisation for PDF conversion } }