Remove libs.showkase entry in composeDependencies

Add it only to the needed library modules.
This commit is contained in:
Jorge Martín
2025-08-13 11:43:57 +02:00
parent 657b8e92a4
commit 4bebd1d2ac
3 changed files with 2 additions and 4 deletions

View File

@@ -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)

View File

@@ -40,6 +40,7 @@ android {
implementation(projects.libraries.uiStrings)
ksp(libs.showkase.processor)
implementation(libs.showkase)
testImplementation(libs.test.junit)
testImplementation(libs.coroutines.test)

View File

@@ -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)
}