Workaround to fix error "No matching variant of com.airbnb.android:showkase:1.0.5 was found".
Replace `implementation` by `debugImplementation` and `releaseImplementation`
This commit is contained in:
@@ -30,6 +30,7 @@ private fun DependencyHandlerScope.implementation(
|
||||
private fun DependencyHandlerScope.androidTestImplementation(dependency: Any) = dependencies.add("androidTestImplementation", dependency)
|
||||
|
||||
private fun DependencyHandlerScope.debugImplementation(dependency: Any) = dependencies.add("debugImplementation", dependency)
|
||||
private fun DependencyHandlerScope.releaseImplementation(dependency: Any) = dependencies.add("releaseImplementation", dependency)
|
||||
|
||||
/**
|
||||
* Dependencies used by all the modules
|
||||
@@ -53,7 +54,10 @@ fun DependencyHandlerScope.composeDependencies(libs: LibrariesForLibs) {
|
||||
implementation(libs.androidx.activity.compose)
|
||||
debugImplementation(libs.androidx.compose.ui.tooling)
|
||||
debugImplementation(libs.androidx.compose.ui.test.manifest)
|
||||
implementation(libs.showkase)
|
||||
// Workaround to fix error "No matching variant of com.airbnb.android:showkase:1.0.5 was found":
|
||||
// Replace `implementation` by `debugImplementation` and `releaseImplementation`
|
||||
debugImplementation(libs.showkase)
|
||||
releaseImplementation(libs.showkase)
|
||||
implementation(libs.kotlinx.collections.immutable)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user