AndroidDependencyManagement icon indicating copy to clipboard operation
AndroidDependencyManagement copied to clipboard

Does not give new version available suggestions

Open krishnalalstha opened this issue 7 years ago • 8 comments

I successfully implemented but when there is new version, does not give new version available suggestions

krishnalalstha avatar Mar 23 '18 16:03 krishnalalstha

This almost surely is an issue with Android Studio.

bensandee avatar Mar 24 '18 20:03 bensandee

But it gives when all the dependency defined in the build.gradle file

krishnalalstha avatar Mar 25 '18 03:03 krishnalalstha

Yes, you're right, it's true. But it's a bug in lint or Android Studio. There's no reason lint shouldn't be able to walk through the dependencies when they come from a buildSrc file.

bensandee avatar Mar 25 '18 19:03 bensandee

@tbsandee have you created a bug report (in Google's bug tracker)?

kb-1000 avatar Jun 22 '18 10:06 kb-1000

Nope, I've been meaning to file several issues related to using dependencies from buildSrc kt files, but haven't had time yet.

bensandee avatar Jun 22 '18 12:06 bensandee

Yeap, same thoughts here. I like pretty much the solution, but cannot make it work with Android Studio and the dependencies new version lint. Also, I've tested with Android Studio 3.3, gradle plugin 3.3.0-alpha06 and wrapper 4.9 and the Kotlin navigation doesn't work for this very project.

XabierGoros avatar Aug 18 '18 19:08 XabierGoros

Here is a workaround from @hitherejoe to keep track of newer versions of libraries, but it only works when you run it in CI, not in Android Studio though.

He commented on my caster.io lesson on it: https://caster.io/lessons/gradle-dependency-management-using-kotlin-and-buildsrc-for-buildgradle-autocomplete-in-android-studio screen shot 2019-01-13 at 3 29 33 pm

Article: https://overflow.buffer.com/2018/10/26/keeping-check-on-your-android-libraries-with-danger-bitrise/

handstandsam avatar Jan 13 '19 20:01 handstandsam

Do you guys know the issue link on Google issue tracker?

heitorcolangelo avatar Jun 17 '19 14:06 heitorcolangelo