How To Check For Updates On Gradle Dependencies

As Android developer, you know the problem: You didn’t work on your project for a longer time and when you start working on it again you first need to update dozens of dependencies and it’s really annoying to browse hundreds of GitHub repositories to search for the latest versions.

But there’s a nice Gradle plugin, that helps you with that. With this plugin you don’t need to manually search for dependency updates anymore, so no more stupid GitHub browsing.

How to integrate this plugin?

The only thing you need to do is adding the following lines to the root build.gradle of your project:

plugins {
id 'com.github.ben-manes.versions' version '0.20.0'
}

That’s all!

How to use this plugin?

After you added the above code snippet to the file, you can simple type

gradle dependencyUpdates

to a console view and magic: it will check if there are newer versions for your dependencies and show them to you!

Feel free to check the GitHub repository of this plugin for more detailed information on this.

Changes:
01.08.2018: Version 0.20.0

Interactions & Comments