gradle-consistent-versions
gradle-consistent-versions copied to clipboard
Upgrading through different major versions
What happened?
In a project's transitive dependency graph, something depended on 1.X of [Redacted] but another project had 2.X.
GCV happily picked the highest 2.X release, but this resulted in broken behaviour at runtime.
What did you want to happen?
Something to help save devs time and catch this before runtime, possible ideas:
- ~Just fail if major versions conflict~ (not feasible because guava 23 and 24 are pretty much fine)
- require people to acknowledge major version incompatibilities? (maybe in the lockfile)
- recommend using some static analysis like missinglink?
- clear documentation warning people this is an unsolved problem?