-
Notifications
You must be signed in to change notification settings - Fork 15
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
Affected detection for version variables and gradle catalog #1359
Comments
Hi @MrSinisterX, |
Hi @khalilou88
This is slightly different from what I meant. In your case it marks as affected all the the gradle projects, however, it should only mark as affected the projects that are actually affected. Meaning that for instance if I change the micronaut version, only the projects that use that dependency should be marked as affected and not all the gradle projects. Same if you add a new variable, only the projects that use it should be marked as affected. In the particular case of the jnxplus-examples, you are using all of them in the root build.gradle, but in my case, we have multiple gradle projects in the same repo, and a common catalog, but not all projects use all the variables in the catalog. So when we change a version, we would like to see as affected only the projects that use the variable that we changed. |
I believe it would be nice to support detecting affected modules based on version variables changes.
For instance if you have in your root build.gradle variables for the versions:
And then you use this variables across the modules, if you change the version in the variable, then currently modules that depend on it won't be seen as affected, even though they actually are.
The same applies if you are using the gradle catalog https://docs.gradle.org/current/userguide/platforms.html
The text was updated successfully, but these errors were encountered: