You can use gradle-versions-plugin to do this. This plugin provides a task dependencyUpdatesthat
Displays a report on the current project dependencies, exceeds the latest version found, has updates, or cannot be resolved.
, , , build.script, :
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.github.ben-manes:gradle-versions-plugin:0.11.3'
// classpath 'org.codehaus.groovy:groovy-backports-compat23:2.3.5' // uncomment if you're using Gradle 1.x
}
}
, :
apply plugin: 'com.github.ben-manes.versions'