Move `configurationAttributesSchema` down to `DependencyHandler` This commit fixes gradle/performance#251 by moving the attributes schema to the dependency handler. It's worth noting that is also renames the configuration method from `configurationAttributesSchema` to simply `attributesSchema`.
Improve error message in case we fallback to the `default` configuration but it's not consumable Since we call fallback on the `default` configuration in case no matching configuration is found with the consumer attributes, it is possible that this configuration is not consumable, in which case dependency resolution should fail. This was the case but the error message was unclear, as it was somehow telling the user that they had selected `default` explicitly. Instead, the error message now lists the configurations which failed to match, with their respective attributes.