diff options
| author | Danilo M. <danix@danix.xyz> | 2026-11-06 10:13:19 +0100 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-11-06 10:13:19 +0100 |
| commit | c3c433a038e304ddb82b282dad2d09899daf241e (patch) | |
| tree | 76b41ec4f21e5a9ac1e03eac03998d71fe4dce49 /ui | |
| parent | a92aa1a00746e4963bffa05cc4abe450e919bb38 (diff) | |
| download | HardenedPass-c3c433a038e304ddb82b282dad2d09899daf241e.tar.gz HardenedPass-c3c433a038e304ddb82b282dad2d09899daf241e.zip | |
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 <noreply@anthropic.com>
Diffstat (limited to 'ui')
| -rw-r--r-- | ui/compose/build.gradle.kts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/compose/build.gradle.kts b/ui/compose/build.gradle.kts index 81d1e4cd..10fb9065 100644 --- a/ui/compose/build.gradle.kts +++ b/ui/compose/build.gradle.kts @@ -21,6 +21,7 @@ dependencies { api(libs.compose.material3) api(libs.compose.ui.core) implementation(libs.androidx.core.ktx) - implementation(libs.compose.ui.tooling) + implementation(libs.compose.ui.tooling.preview) + debugImplementation(libs.compose.ui.tooling) testImplementation(libs.bundles.testDependencies) } |
