asciidoctor-gradle-plugin icon indicating copy to clipboard operation
asciidoctor-gradle-plugin copied to clipboard

Gradle build fails with message about dependency resolution

Open swalton00 opened this issue 8 months ago • 0 comments

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 } }

swalton00 avatar Mar 13 '25 13:03 swalton00