Skip to content

Testacles dependency import failing because of missing dependency: io.github.juanchosaravia.autodsl:annotation:0.0.11 #12

@amolpednekar

Description

@amolpednekar

Importing Corda testacles in gradle fails because dependency io.github.juanchosaravia.autodsl:annotation:0.0.11 is not available on mavenCentral

Gradle error:

Execution failed for task ':workflows:compileTestKotlin'.
> Could not resolve all files for configuration ':workflows:testCompileClasspath'.
   > Could not find io.github.juanchosaravia.autodsl:annotation:0.0.11.

Dependency from testacles library: https://mvnrepository.com/artifact/io.github.juanchosaravia.autodsl/annotation/usages
0.0.11

Current fix:

Add jcenter() to list of gradle repositories

repositories {
    mavenLocal()
    mavenCentral()
    .
    .
    jcenter()
}

Long term fix: Since jcenter is deprecated by gradle, switch to 0.0.10 dependency of annotation in source library.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions