This message was deleted.
# community-support
s
This message was deleted.
m
Do you mean using the same catalog in buildSrc and production?
p
Yes
p
Sorry if you missunderstood, I'm not asking how to use version catalogs, just what is the best practice between using version catalogs or defining a map of strings for dependencies in the
buildSrc
package (or just versions in constants)
m
oh, use version catalogs 🙂
p
ah thanks ^^
Do you have any explication about this ? 🙂
m
well, the docs explain it already, but if you're looking into more design decisions, here's what I wrote back then: https://gradle.cloud.xwiki.com/xwiki/bin/view/Main/Design%20specs/Dependency%20management/Version%20catalog/Version%20catalogs%20-%20Main%20spec/
2 main advantages: type safe accessors, and doesn't invalidate the build when you change a version.
p
Okay it's very interesting, thanks ^^