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
Vampire
01/13/2025, 12:42 PM
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
Hildebrandt Tobias
01/13/2025, 1:02 PM
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
Vampire
01/13/2025, 1:03 PM
Hm, I think for me it only checks the modules I actually use.
Vampire
01/13/2025, 1:03 PM
Maybe you enabled to check constraints and use the bom?
Vampire
01/13/2025, 1:04 PM
Maybe it works better if you use the version catalog the wrappers provide, that is what I use.
h
Hildebrandt Tobias
01/13/2025, 1:06 PM
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?