VirtusLab / bazel-steward

A bot to keep Bazel dependencies up to date
https://virtuslab.github.io/bazel-steward/
Apache License 2.0
62 stars 5 forks source link

Reduce false positives when updating versions #373

Closed lukaszwawrzyk closed 7 months ago

lukaszwawrzyk commented 7 months ago

This PR improves the heuristics to replace versions in bazel files, mainly focusing on maven/jvm.

This fixes the case when library that we try to update is not defined anywhere in code (for example it comes from another workspace as a constant), but there is another library that has the same version. Before this change, a completely unrelated library could be bumped.