Hi, maybe someone has a quick and easy answer for ...
# gradle
h
Hi, maybe someone has a quick and easy answer for this one. I tried to use https://github.com/ben-manes/gradle-versions-plugin to check for outdated dependencies. And it works, but it downloads almost all previous versions, which takes forever for some libraries like https://github.com/JetBrains/kotlin-wrappers where it downloads all 840 previous versions. A look at the readme and a quick google search didn't yield any solutions, though. Is there a way to prevent/limit that behaviour?
v
Not sure what you mean. It should not "download all previous versions" or actually download any versions, only the metadata (GMM / POM). It changes the version to be
+
and then resolves the configuration, getting which version is the latest to report that.
h
Ah yes it's only the
pom
and
module
file, but from all 800+ kotlin-wrappers. Maybe it's because my version is set by a variable?
v
Hm, I think for me it only checks the modules I actually use.
Maybe you enabled to check constraints and use the bom?
Maybe it works better if you use the version catalog the wrappers provide, that is what I use.
h
Oh, yes I use the bom for the wrappers. But I don't have made any extra settings. What do you mean by version catalog? Is that an alternative to using the bom?