crnk-project / crnk-framework

JSON API library for Java
Apache License 2.0
285 stars 153 forks source link

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

Open gavenkoa opened 2 years ago

gavenkoa commented 2 years ago

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"