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 --- gradle/libs.versions.toml | 1 + 1 file changed, 1 insertion(+) (limited to 'gradle') diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 3439f128..546b844c 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -47,6 +47,7 @@ compose-foundation-layout = { module = "androidx.compose.foundation:foundation-l compose-material3 = { module = "androidx.compose.material3:material3" } compose-ui-core = { module = "androidx.compose.ui:ui" } compose-ui-tooling = { module = "androidx.compose.ui:ui-tooling" } +compose-ui-tooling-preview = { module = "androidx.compose.ui:ui-tooling-preview" } dagger-hilt-android = { module = "com.google.dagger:hilt-android", version.ref = "hilt" } dagger-hilt-compiler = { module = "com.google.dagger:hilt-compiler", version.ref = "hilt" } dagger-hilt-core = { module = "com.google.dagger:hilt-core", version.ref = "hilt" } -- cgit v1.2.3