From 61ca629ee10b180aff03315d99747312793d4992 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 12 Aug 2025 15:51:46 +0000 Subject: [PATCH 1/3] Update showkase to v1.0.5 --- gradle/libs.versions.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 9c9f782b4c..ea3ae87e63 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -39,7 +39,7 @@ serialization_json = "1.9.0" #other detekt = "1.23.8" coil = "3.3.0" -showkase = "1.0.4" +showkase = "1.0.5" appyx = "1.7.1" sqldelight = "2.1.0" wysiwyg = "2.39.0" From 139b34013e3b94bb838618ab6116c09b5d78afc0 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Wed, 13 Aug 2025 10:23:35 +0200 Subject: [PATCH 2/3] Workaround to fix error "No matching variant of com.airbnb.android:showkase:1.0.5 was found". Replace `implementation` by `debugImplementation` and `releaseImplementation` --- plugins/src/main/kotlin/extension/DependencyHandleScope.kt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/plugins/src/main/kotlin/extension/DependencyHandleScope.kt b/plugins/src/main/kotlin/extension/DependencyHandleScope.kt index 5e4ea91618..6029ac3487 100644 --- a/plugins/src/main/kotlin/extension/DependencyHandleScope.kt +++ b/plugins/src/main/kotlin/extension/DependencyHandleScope.kt @@ -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) } From cb486e93d71f5a143c65d1eb3abecf83ac0b148f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorge=20Mart=C3=ADn?= Date: Wed, 13 Aug 2025 11:43:57 +0200 Subject: [PATCH 3/3] Remove `libs.showkase` entry in `composeDependencies` Add it only to the needed library modules. --- features/preferences/impl/build.gradle.kts | 1 + libraries/designsystem/build.gradle.kts | 1 + plugins/src/main/kotlin/extension/DependencyHandleScope.kt | 4 ---- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/features/preferences/impl/build.gradle.kts b/features/preferences/impl/build.gradle.kts index 8eb3c5d860..a74896686d 100644 --- a/features/preferences/impl/build.gradle.kts +++ b/features/preferences/impl/build.gradle.kts @@ -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) diff --git a/libraries/designsystem/build.gradle.kts b/libraries/designsystem/build.gradle.kts index d95566ebb5..0d1efa1ed1 100644 --- a/libraries/designsystem/build.gradle.kts +++ b/libraries/designsystem/build.gradle.kts @@ -40,6 +40,7 @@ android { implementation(projects.libraries.uiStrings) ksp(libs.showkase.processor) + implementation(libs.showkase) testImplementation(libs.test.junit) testImplementation(libs.coroutines.test) diff --git a/plugins/src/main/kotlin/extension/DependencyHandleScope.kt b/plugins/src/main/kotlin/extension/DependencyHandleScope.kt index 6029ac3487..0f5afb9690 100644 --- a/plugins/src/main/kotlin/extension/DependencyHandleScope.kt +++ b/plugins/src/main/kotlin/extension/DependencyHandleScope.kt @@ -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) }