Is there a way to declare transitive dependencies exclusion in the libs.version.toml
?
As you don’t declare dependencies in a version catalog, you also don’t declare excludes.
A version catalog is just a catalog of coordinates and versions.
How you use them (artifact with classifier X, except transitive dependency Y, and so on) is defined on usage side.
it make sense, but I did wonder if there were a way to share a catalog that also is opinionated about transitive dependencies as in fact transitive deps may vary according to the the versions