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.