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

[Maybe] Properties file for module versions #68

Open
jjohannes opened this issue Nov 12, 2023 · 0 comments
Open

[Maybe] Properties file for module versions #68

jjohannes opened this issue Nov 12, 2023 · 0 comments

Comments

@jjohannes
Copy link
Member

To define versions, there are currently two documented methods:

  1. Use a platform (either as spearate project or as variant of an application project)
  2. Use Gradle's version catalog ([versions] section)

From usability (2) is a bit nicer because it just requires you to add a file. (1) requires a more involved setup and versions are "hidden" in a build.gradle file. But (1) has the big advantage that all versions are always used automatically and allows you to influence the versions of transitive dependencies for which you never have a direct require.

I think in the context of this plugin, it would be nice to have another option with a similar usability as (2) but the effect of (1). A solution could be to have the versions in a dedicated properties file (with module.name=version entries) that the plugins than translated into version constraints for all modules of your project.

@jjohannes jjohannes changed the title Support properties file for module versions Properties file for module versions Nov 21, 2023
jjohannes added a commit that referenced this issue Nov 21, 2023
- In more cases, a platform is the appropriate solution to also
  influence versions of transitive dependencies
- We might add the option to use a properties file (#68) which
  makes it even more unclear if versions are expected in the catalog
  or not
@jjohannes jjohannes changed the title Properties file for module versions [Maybe] Properties file for module versions Nov 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant