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.
โž• 5
๐Ÿ‘Ž 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
๐Ÿ‘ 1
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 :-/
same 1
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
a
@bishiboosh gave caupain a try, itโ€™s terrific! Iโ€™m using the command line. Thanks for providing binaries for all platforms
๐Ÿ™Œ๐Ÿป 1
b
the command line is the "preferred" use of the tool tbh, the Gradle plugin is here because as a long lover of Gradle I couldn't not do one ๐Ÿ˜
Really happy to know you like it