Remove libs.showkase entry in composeDependencies
Add it only to the needed library modules.
This commit is contained in:
@@ -86,6 +86,7 @@ dependencies {
|
||||
implementation(libs.androidx.browser)
|
||||
implementation(libs.androidx.datastore.preferences)
|
||||
api(projects.features.preferences.api)
|
||||
implementation(libs.showkase)
|
||||
|
||||
implementation(platform(libs.network.okhttp.bom))
|
||||
implementation(libs.network.okhttp)
|
||||
|
||||
@@ -40,6 +40,7 @@ android {
|
||||
implementation(projects.libraries.uiStrings)
|
||||
|
||||
ksp(libs.showkase.processor)
|
||||
implementation(libs.showkase)
|
||||
|
||||
testImplementation(libs.test.junit)
|
||||
testImplementation(libs.coroutines.test)
|
||||
|
||||
@@ -54,10 +54,6 @@ fun DependencyHandlerScope.composeDependencies(libs: LibrariesForLibs) {
|
||||
implementation(libs.androidx.activity.compose)
|
||||
debugImplementation(libs.androidx.compose.ui.tooling)
|
||||
debugImplementation(libs.androidx.compose.ui.test.manifest)
|
||||
// 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