dagger
dagger copied to clipboard
after add hilt { enableAggregatingTask = true } dependencies tasks faild
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" } }