/ Gradle

How To Check For Updates On Gradle Dependencies

Almost every developer knows that. You didn’t work on your project for a longer time and when you start working on it again you first need to update all the dependencies your project uses. Especially Android developers know what I talk about (Google’s support libraries and Play Services etc.).

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.13.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!

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

jlelse

jlelse

I'm a developer and a blogger. And I like to blog about software and development.

Read More
How To Check For Updates On Gradle Dependencies
Share this