1initscript { 2 repositories { 3 gradlePluginPortal() 4 } 5 6 dependencies { 7 classpath 'com.github.ben-manes:gradle-versions-plugin:v0.44.0' 8 } 9} 10 11allprojects { 12 apply plugin: com.github.benmanes.gradle.versions.VersionsPlugin 13 14 tasks.named("dependencyUpdates").configure { 15 // configure the task, for example wrt. resolution strategies 16 } 17} 18