Migrate to version catalogs
All dependencies including these
https://github.com/diffplug/spotless/blob/a0ac60042bb4470f9dd7992e11541ca37d025f75/lib/build.gradle#L73-L137
For a project with lots of modules, and you want the same dependency across them all, I think version catalogs are helpful.
When a dependency is only used in one place, I think version catalogs are an unnecessary layer of indirection.
Spotless does not have a large number of modules, and most dependencies are only used in one place, so I don't think a version catalog will make things easier.
I'm still open to this though. What am I missing?
This is mostly useful for #2705.
- this is a good idea, and the reason was patiently explained to me here: https://github.com/diffplug/spotless/issues/2705#issuecomment-3484021121