cashapp / cashapp/better-dynamic-features
"While resolving configuration 'betterDynamicFeatures', it was also selected as a variant." warning in build scans
- Dominant language
- Kotlin
- Stars
- 99
- Forks
- 9
- PR merge metrics
- No merged PRs in 30d
Description
I'm seeing the following deprecation warning in our build scans:
> While resolving configuration 'betterDynamicFeatures', it was also selected as a variant. Configurations should not act as both a resolution root and a variant simultaneously. Depending on the resolved configuration in this manner has been deprecated.
> This will fail with an error in Gradle 9.0.
> Be sure to mark configurations meant for resolution as canBeConsumed=false or use the 'resolvable(String)' configuration factory method to create them.
> [Documentation](https://docs.gradle.org/8.5/userguide/upgrading_version_8.html#depending_on_root_configuration)
It should be visible in any cash-android build scan, but happy to provide specific links if necessary.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with a cash-android build scan and the Gradle 8.5 upgrade documentation linked in the issue. Trace the configuration named 'betterDynamicFeatures' to determine where it is both resolved and selected as a variant. Done means the warning no longer appears and the build remains compatible with Gradle 9.0.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100