dotsindicator
dotsindicator copied to clipboard
For Custom buildTypes Not Import
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:
I am also facing the same issue. @tommybuonomo Does anyone looking into this please add updates.
The same issue :(
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: https://github.com/tommybuonomo/dotsindicator/issues/178