mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-04 10:32:34 +00:00
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.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)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user