gradle-retrolambda icon indicating copy to clipboard operation
gradle-retrolambda copied to clipboard

depndencyUpdates cannot determine version of retrolambda

Open dalewking opened this issue 8 years ago • 5 comments

Have a project with this to add retrolambda and Ben Manes' versions plugin (https://github.com/ben-manes/gradle-versions-plugin)

plugins {
    id 'me.tatarka.retrolambda' version '3.6.0' apply false
    id 'com.github.ben-manes.versions' version '0.14.0'
}

The versions plugin has a dependencyUpdates task to report whether dependencies have later versions. However it is not able to determine if this plug in has any updates:

Failed to determine the latest version for the following dependencies (use --info for details):
 - gradle.plugin.me.tatarka:gradle-retrolambda

Would be nice if this worked

dalewking avatar Mar 10 '17 15:03 dalewking

Relevant info when ran with --info:

Failed to determine the latest version for the following dependencies (use --info for details):
 - gradle.plugin.me.tatarka:gradle-retrolambda
The exception that is the cause of unresolved state: Could not find any matches for gradle.plugin.me.tatarka:gradle-retrolambda:+ as no versions of gradle.plugin.me.tatarka:gradle-retrolambda are available.
Searched in the following locations:
    https://jcenter.bintray.com/gradle/plugin/me/tatarka/gradle-retrolambda/maven-metadata.xml
    https://jcenter.bintray.com/gradle/plugin/me/tatarka/gradle-retrolambda/
    https://plugins.gradle.org/m2/gradle/plugin/me/tatarka/gradle-retrolambda/maven-metadata.xml
    https://plugins.gradle.org/m2/gradle/plugin/me/tatarka/gradle-retrolambda/

dalewking avatar Mar 10 '17 15:03 dalewking

I think think the issue is that it is trying to look it up with gradle.plugin in front

dalewking avatar Mar 10 '17 15:03 dalewking

Wouldn't this be an issue with that plugin then? Not sure what action I'd take here.

evant avatar Mar 10 '17 15:03 evant

Possibly, but I'm guessing this plugin is set up somewhat weird as it is the only one that has this problem.

dalewking avatar Mar 10 '17 16:03 dalewking

It's an issue in gradle - https://github.com/gradle/gradle/issues/1297

vanniktech avatar Mar 10 '17 16:03 vanniktech