Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

For Custom buildTypes Not Import #170

Open
rohitPagare opened this issue Apr 19, 2023 · 3 comments
Open

For Custom buildTypes Not Import #170

rohitPagare opened this issue Apr 19, 2023 · 3 comments

Comments

@rohitPagare
Copy link

When i create custom build type another than debug or release like qa(Qaulity Analysis)
it will through exception

FAILURE: Build completed with 11 failures.

1: Task failed with an exception.

  • What went wrong:
    Execution failed for task ':app:dataBindingMergeDependencyArtifactsStage'.

Could not resolve all files for configuration ':app:stageCompileClasspath'.
Could not resolve com.tbuonomo:dotsindicator:4.3.
Required by:
project :app
> No matching variant of com.tbuonomo:dotsindicator:4.3 was found. The consumer was configured to find an API of a component, preferably optimized for Android, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'stage', attribute 'com.android.build.api.attributes.AgpVersionAttr' with value '7.4.2' but:

@bhavesh3005sharma
Copy link

bhavesh3005sharma commented May 9, 2023

I am also facing the same issue. @tommybuonomo Does anyone looking into this please add updates.

@LinasSkardzius
Copy link

The same issue :(

@fulcrum6378
Copy link

Temporarily we can use this:
For Kotlin:

    buildTypes {
        create("debuggee") {
            ...
            matchingFallbacks += listOf("debug")
        }
    }

For Groovy:

    buildTypes {
        debuggee {
            ...
            matchingFallbacks = ['debug']
        }
    }

The publisher must publish a new version with a SINGLE VARIANT! so that we won't need to use the trick above.
Explained more in here: #178

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants