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:
parent
42338ee4e7
commit
657b8e92a4
1 changed files with 5 additions and 1 deletions
|
|
@ -30,6 +30,7 @@ private fun DependencyHandlerScope.implementation(
|
||||||
private fun DependencyHandlerScope.androidTestImplementation(dependency: Any) = dependencies.add("androidTestImplementation", dependency)
|
private fun DependencyHandlerScope.androidTestImplementation(dependency: Any) = dependencies.add("androidTestImplementation", dependency)
|
||||||
|
|
||||||
private fun DependencyHandlerScope.debugImplementation(dependency: Any) = dependencies.add("debugImplementation", 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
|
* Dependencies used by all the modules
|
||||||
|
|
@ -53,7 +54,10 @@ fun DependencyHandlerScope.composeDependencies(libs: LibrariesForLibs) {
|
||||||
implementation(libs.androidx.activity.compose)
|
implementation(libs.androidx.activity.compose)
|
||||||
debugImplementation(libs.androidx.compose.ui.tooling)
|
debugImplementation(libs.androidx.compose.ui.tooling)
|
||||||
debugImplementation(libs.androidx.compose.ui.test.manifest)
|
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)
|
implementation(libs.kotlinx.collections.immutable)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue