We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33f4b99 commit 1d172c9Copy full SHA for 1d172c9
plugins/package-managers/gradle-plugin/src/main/kotlin/GradleModelExtensions.kt
@@ -41,7 +41,7 @@ internal fun Configuration.isRelevant(): Boolean {
41
42
// Check if a configuration is deprecated in favor of alternatives.
43
val isDeprecatedConfiguration = GradleVersion.current() >= GradleVersion.version("6.0")
44
- && this is DeprecatableConfiguration && resolutionAlternatives != null
+ && this is DeprecatableConfiguration && !resolutionAlternatives.isNullOrEmpty()
45
46
// Do not try to resolve dependencies metadata configurations as there often cause failures with Gradle itself. See
47
// https://developer.android.com/build/releases/past-releases/agp-4-0-0-release-notes#dependency-metadata and
0 commit comments