I'd like to keep my build.gradle
dependencies up to date. With Node.js, I run the npm outdated
(and later npm update
).
What's the closest for Gradle?
I don't mean for Android IDE; I mean running it in the console for any project.
I'd like to keep my build.gradle
dependencies up to date. With Node.js, I run the npm outdated
(and later npm update
).
What's the closest for Gradle?
I don't mean for Android IDE; I mean running it in the console for any project.
Gradle does not provide such a functionality out of the box.
You can check out the Gradle Versions Plugin, as suggested in this answer of the question you linked. Please note, that this plugin does not update the dependencies, but generates a report describing possible updates.
The corresponding Github page also shows a link to the Gradle Use Latest Versions Plugin, which provides a task called useLatestVersions
with the functionality you requested.