summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2026-06-29 18:47:10 +0200
committerJosJuice <josjuice@gmail.com>2026-06-29 18:47:10 +0200
commitb1d81af9cb1dcf722691be952e4a31caff49c13f (patch)
tree1edf5e310e4f8badd1d69ba85f028028e65ce29b
parente2ab15aa23fd05f5f90f71552ee33857bad5775e (diff)
Android: Fix release build
We don't need to see Compose previews when making a release build, but androidx.compose.ui.tooling.preview.Preview is referenced in the source code nonetheless, so the build system needs to know what it is.
-rw-r--r--Source/Android/app/build.gradle.kts4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Android/app/build.gradle.kts b/Source/Android/app/build.gradle.kts
index 11433e8160..11473af09f 100644
--- a/Source/Android/app/build.gradle.kts
+++ b/Source/Android/app/build.gradle.kts
@@ -169,8 +169,8 @@ dependencies {
implementation(libs.androidx.compose.material3.adaptive)
implementation(libs.androidx.compose.runtime.livedata)
implementation(libs.androidx.compose.ui)
- debugImplementation(libs.androidx.compose.ui.tooling)
- debugImplementation(libs.androidx.compose.ui.tooling.preview)
+ implementation(libs.androidx.compose.ui.tooling)
+ implementation(libs.androidx.compose.ui.tooling.preview)
}
fun getGitVersion(): String {