From c3c433a038e304ddb82b282dad2d09899daf241e Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Fri, 6 Nov 2026 10:13:19 +0100 Subject: build: keep compose tooling out of release builds ui-tooling brought an exported PreviewActivity into the release APK. Only the preview annotations are needed outside debug builds, and they have their own artifact. Co-Authored-By: Claude Opus 5.5 --- app/build.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app') diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 9ad30d32..81414510 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -68,7 +68,7 @@ dependencies { implementation(libs.androidx.lifecycle.viewmodel.compose) implementation(libs.androidx.lifecycle.runtime.compose) implementation(libs.androidx.navigation.compose) - implementation(libs.compose.ui.tooling) + debugImplementation(libs.compose.ui.tooling) implementation(libs.dagger.hilt.android) implementation(libs.kotlinx.collections.immutable) -- cgit v1.2.3