diff --git a/src/main/groovy/com/github/benmanes/gradle/versions/VersionsPlugin.groovy b/src/main/groovy/com/github/benmanes/gradle/versions/VersionsPlugin.groovy index 77bc2c34..faff4b86 100644 --- a/src/main/groovy/com/github/benmanes/gradle/versions/VersionsPlugin.groovy +++ b/src/main/groovy/com/github/benmanes/gradle/versions/VersionsPlugin.groovy @@ -34,6 +34,8 @@ class VersionsPlugin implements Plugin { return } - project.tasks.register('dependencyUpdates', DependencyUpdatesTask) + if (!project.tasks.findByName("dependencyUpdates")) { + project.tasks.register('dependencyUpdates', DependencyUpdatesTask) + } } }