This message was deleted.
# community-support
s
This message was deleted.
v
No, a version catalog is like its name suggests, just a catalog of artifacts with versions to pick from. The same entry could be used at different locations with different needs for excludes or artifacts or similar, so all this is to be declared at usage side and cannot be defined in a version catalog.
h
maven BOM can define dep with name and version , also can declaration of excluding transitive deps by default.
v
Well, a version catalog has practically nothing to do or in common with a Maven BOM, except that you define versions in them. The according construct of a Maven BOM in Gradle is a Platform. You can also combine a Platform and a Version Catalog without problems.
BOMs and platforms influence the resolution process and are also mainly to control version of transitive dependencies. Version catalogs are really just a list of coordinates with version but are effect-wise the same as specifying the dependency explicitly, just that you can update the version without invalidating all caches and have a central place to define the versions.
🎉 1
m
in other words, to the question "should I use a platform or a catalog", the answer is often use both 🙂 https://docs.gradle.org/current/userguide/platforms.html#sub:platforms-vs-catalog