-
Notifications
You must be signed in to change notification settings - Fork 200
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
Resolve versions in a java-platfom project #350
Comments
You can apply the plugin only to the bom project if you prefer. Does that work? |
Since enforcing versions in a bom project uses |
If I remember correctly, the Gradle team suggested to refactor the plug-in to have one dependency task per project and then merge their results at the end? Is that correct @ben-manes |
@jmfayard yes, though I think the ask is to look at another property as well for a configuration to evaluate. The per project task is different in that they are changing best practices from 1.x days to improve parallelism and caching. Here I think it’s just applying to a sub project and evaluating dependencies differently. @anuraaga you can give it a shot. Gradle changes so much that I don’t know anymore what is good or bad practices. It would seem like a potentially confusing addition in other cases, so I don’t know if it’s a good or bad addition. |
I usually manage dependency versions in a repo with many Gradle projects by having one
java-platform
project that usesdependencies.constraints
to force versions in other projects. Currently, I usually rundependencyUpdates
on the entire repo, meaning for all the subprojects, but it would be convenient to be able to just run:project-bom:dependencyUpdates
to resolve updates to the constraint dependencies. Is this a feature that's appropriate for this plugin?The text was updated successfully, but these errors were encountered: