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
If dependency project has no variants, mention that there are none #28970
Labels
Milestone
Comments
mathjeff
added a commit
to mathjeff/gradle
that referenced
this issue
Apr 25, 2024
…n that instead of saying that every variant has no attributes Fixes: gradle#28970 Signed-off-by: Jeff Gaston <[email protected]>
9 tasks
Also somewhat related to #12126 |
Thank you for providing a PR with a fix! The responsible team will review it. |
github-merge-queue bot
pushed a commit
that referenced
this issue
May 8, 2024
…n that instead of saying that every variant has no attributes Fixes: #28970 Signed-off-by: Jeff Gaston <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Current Behavior
Currently I'm finding that if I declare a dependency (with attributes) on a project that declares no variants, then the error message from Gradle says:
rather than saying something more like:
Expected Behavior
It would be nice if Gradle would mention that no variants were found rather than saying that every variant had no attributes
Context (optional)
No response
Steps to Reproduce
See https://github.com/mathjeff/gradle-samples-2/tree/main/resolve-attributes-with-no-variants
Gradle version
8.7
Build scan URL (optional)
No response
Your Environment (optional)
No response
The text was updated successfully, but these errors were encountered: