Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use a version catalog to sync module dependency versions #78

Open
jakaarl opened this issue Aug 2, 2023 · 1 comment
Open

Use a version catalog to sync module dependency versions #78

jakaarl opened this issue Aug 2, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@jakaarl
Copy link
Contributor

jakaarl commented Aug 2, 2023

Backend and related modules depend on libraries which need to be kept in sync. We should define the common versions in a catalog, publish it and consume it in each module. See: https://docs.gradle.org/current/userguide/platforms.html#sec:sharing-catalogs

@jakaarl jakaarl added the enhancement New feature or request label Aug 2, 2023
@pveeckhout
Copy link
Contributor

pveeckhout commented Aug 3, 2023

Personally I am much more inclined to use a platform rather than a catalog.

the platform is more heavyweight, but it also works on transitive dependencies, but I feel it might serve our case better

https://docs.gradle.org/current/userguide/platforms.html#sub:platforms-vs-catalog

we can both use a catalog and declare a platform which itself uses the catalog:

@jakaarl jakaarl self-assigned this Aug 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants