You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
> Could not resolve all task dependencies for configuration ':subproject2:conf'.
> Could not resolve project :subproject1.
Required by:
project :subproject2
> No matching variant of project :subproject1 was found. The consumer was configured to find attribute 'attrA' with value 'value1' but:
- None of the variants have attributes.
rather than saying something more like:
No variants were found.
Expected Behavior
It would be nice if Gradle would mention that no variants were found rather than saying that every variant had no attributes
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: