What are people using to check if their dependenci...
# gradle
a
What are people using to check if their dependencies are up to date? I was using ben-manes/gradle-versions-plugin but it stopped working with Gradle 9 / AGP 8.12.0
c
dependabot or renovate.
3
👎 1
b
I'll do a quick shout-out for our project https://github.com/deezer/caupain, it's really useful if you want a tool that can quickly gives you the list of dependencies to update
kodee loving 2
💯 1
👋 2
v
I usually use a combination of Ben's plugin for reliable checking and display together with
refreshVersions
to get the new version comments in the version catalog for easy selecting what to update to. I hope the plugin will be made 9-compatible if it is not yet, didn't upgrade a build where I use it yet :-/
b
(jsyk my tool also includes a plugin compatible with Gradle 9, however it checks directly the version catalog and does not use Gradle resolution mechanisme, so ymmv)
(so it's technically a bit less precise than ben's implementation, however I tried to adhere as much as possible to what's Gradle is doing in terms of querying for updates, and there's a task that replaces the versions in the catalog for you)
(refreshVersions is also a great tool, we just thought it was a bit too opinionated for us)
v
If someone wants to use
refreshVersions
despite its opinionating, I usually reconfigure the
versions.properties
file location to be inside
layout.buildDirectory
as you cannot disable it completely yet, that way it just updates the comments in version catalog 🙂
b
to each his own 😄
👌 1