Can somebody explain what is this constraint and where does it come from?
I don’t understand what is accDebugCompileClasspath
and how does it affect the version of the androidx.startup:startup-runtime
dependency (which should come only from its ancestor androidx.work:work-runtime
dependency.
androidx.startup:startup-runtime:1.1.1
Variant releaseVariantReleaseApiPublication:
| Attribute Name | Provided | Requested |
|------------------------------------------------------------|----------|------------|
| org.gradle.category | library | |
| org.gradle.dependency.bundling | external | |
| org.gradle.libraryelements | aar | |
| org.gradle.status | release | |
| org.gradle.usage | java-api | java-api |
| com.android.build.api.attributes.AgpVersionAttr | | 7.3.1 |
| com.android.build.api.attributes.BuildTypeAttr | | debug |
| com.android.build.api.attributes.ProductFlavor:environment | | acc |
| org.gradle.jvm.environment | | android |
| org.jetbrains.kotlin.platform.type | | androidJvm |
Selection reasons:
- By constraint: accDebugRuntimeClasspath uses version 1.1.1
- By ancestor
androidx.startup:startup-runtime:{strictly 1.1.1} -> 1.1.1
\--- accDebugCompileClasspath
androidx.startup:startup-runtime:1.0.0 -> 1.1.1
\--- androidx.work:work-runtime:2.7.1
+--- accDebugCompileClasspath (requested androidx.work:work-runtime:{strictly 2.7.1})
\--- androidx.work:work-runtime-ktx:2.7.1
\--- accDebugCompileClasspath
(*) - dependencies omitted (listed previously)