Skip to content
This repository has been archived by the owner on Aug 26, 2021. It is now read-only.

after add hilt { enableAggregatingTask = true } dependencies tasks faild #577

Open
cquin89 opened this issue Jul 27, 2021 · 0 comments
Open

Comments

@cquin89
Copy link

cquin89 commented Jul 27, 2021

when I add the line hilt { enableAggregatingTask = true} error (Execution failed for task ':app:dependencies) happend

Execution failed for task ':app:dependencies'.
Cannot change dependencies of dependency configuration ':app:hmsDebugAndroidTestRuntimeClasspath' after it has been included in dependency resolution. Use 'defaultDependencies' instead of 'beforeResolve' to specify default dependencies for a configuration.

The task fails when I add a flavor that starts with a letter greater than g

Example:

flavorDimensions "version"
productFlavors{
hms{
dimension "version"
}
gms{
dimension "version"
}
}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant