Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check dependency updates recursively? #282

Open
Mygod opened this issue Jan 5, 2019 · 7 comments
Open

Check dependency updates recursively? #282

Mygod opened this issue Jan 5, 2019 · 7 comments

Comments

@Mygod
Copy link

Mygod commented Jan 5, 2019

For example, androidx.preference:preference:1.1.0-alpha02 depends on androidx.fragment:fragment:1.1.0-alpha02, but there exists update androidx.fragment:fragment:1.1.0-alpha03.

@ben-manes
Copy link
Owner

This is called a transitive dependency and could be done as a task property. Currently we don’t resolve those,

return project.dependencies.create("${dependency.group}:${dependency.name}:${version}") {
transitive = false
}

Usually you only manage explicitly declared dependencies, so it hasn’t been an issue or asked for.

@Mygod
Copy link
Author

Mygod commented Jan 5, 2019

Having this feature still sounds like a good idea though?

@ben-manes
Copy link
Owner

ben-manes commented Jan 5, 2019

I don’t think it will be useful for most people, but it’s not a bad idea and some might prefer it.

@grimreaper
Copy link
Contributor

It can be useful to understand if my dependencies don't update their deps. I don't think I'd action it directly but might be useful to understand if some feature I want isn't ready or a dep is lax about security.

@laxika
Copy link

laxika commented Jan 15, 2019

If you have a lot of in-house dependencies (working on a huge project for example) this could be very useful. You can easily ask other teams to up their dependencies if needed.

@santoch
Copy link

santoch commented Feb 6, 2019

This feature is extremely useful for finding and diagnosing "diamond" problems, ie, when you depend on 2 projects and they depend on (different versions) of another project.

@fluidsonic
Copy link

Also useful for us. We use various own libraries and Gradle plugins whose dependencies are never checked when we run dependencyUpdates in one of the projects which use these libraries and plugins.
We don't want to go through all of them manually all the time just to check for dependency updates :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants