crnk-framework icon indicating copy to clipboard operation
crnk-framework copied to clipboard

Gradle "io.crnk:crnk-gen-gradle" fails on broken dependency "org.reflections:reflections"

Open gavenkoa opened this issue 2 years ago • 0 comments

With simple build.gradle:

buildscript {
    repositories {
        mavenCentral()
    }
    dependencies {
        classpath "io.crnk:crnk-gen-gradle:${crnkVersion}"
    }
}

build fails as:

> Could not resolve all files for configuration ':classpath'.
   > Could not find org.reflections:reflections:.
     Required by:
         project : > io.crnk:crnk-gen-gradle:3.4.20210509072026 > io.crnk:crnk-gen-runtime:3.4.20210509072026

As a fix I provided version explicitly:

classpath "org.reflections:reflections:0.10.2"

gavenkoa avatar Jun 06 '22 17:06 gavenkoa