Skip to content

Commit

Permalink
Avoid configuring dependencyUpdates task (#736)
Browse files Browse the repository at this point in the history
  • Loading branch information
dreis2211 authored Feb 27, 2023
1 parent 0475583 commit a0e0976
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class VersionsPlugin : Plugin<Project> {
}

val tasks = project.tasks
if (tasks.findByName("dependencyUpdates") == null) {
if (!tasks.getNames().contains("dependencyUpdates")) {
tasks.register("dependencyUpdates", DependencyUpdatesTask::class.java)
}
}
Expand Down

0 comments on commit a0e0976

Please sign in to comment.