Skip to content

Checking dependencies doesn't know which variant to check for Android #82

@martinbonnin

Description

@martinbonnin

Expected and Results

I guess we need to register a task per variant 🙈

* What went wrong:
Could not determine the dependencies of task ':openfeedback:tapmocCheckClassFileVersions'.
> Could not resolve all dependencies for configuration ':openfeedback:tapmocRuntimeDependencies'.
   > Could not resolve project :openfeedback.
     Required by:
         project :openfeedback
      > The consumer was configured to find a component for use during runtime. However we cannot choose between the following variants of project :openfeedback:
          - debugRuntimeElements
          - releaseRuntimeElements
        All of them match the consumer attributes:
          - Variant 'debugRuntimeElements' capability 'io.openfeedback:openfeedback:1.0.0-alpha.5-SNAPSHOT' declares a component for use during runtime:
              - Unmatched attributes:
                  - Provides a library but the consumer didn't ask for it
                  - Provides attribute 'com.android.build.api.attributes.AgpVersionAttr' with value '8.9.0' but the consumer didn't ask for it
                  - Provides attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'debug' but the consumer didn't ask for it
                  - Provides attribute 'com.android.build.gradle.internal.attributes.VariantAttr' with value 'debug' but the consumer didn't ask for it
                  - Provides attribute 'org.gradle.jvm.environment' with value 'android' but the consumer didn't ask for it
                  - Provides attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' but the consumer didn't ask for it

Related environment and versions

No response

Reproduction steps

No response

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions