evant / gradle-retrolambda

A gradle plugin for getting java lambda support in java 6, 7 and android
Apache License 2.0
5.3k stars 449 forks source link

depndencyUpdates cannot determine version of retrolambda #242

Open dalewking opened 7 years ago

dalewking commented 7 years ago

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 commented 7 years ago

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 commented 7 years ago

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

evant commented 7 years ago

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

dalewking commented 7 years ago

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

vanniktech commented 7 years ago

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