Skip to content

Gradle build fails with message about dependency resolution #748

Open
@swalton00

Description

@swalton00

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions