Modern Apps git
git clone https://git.maproj.org/Modern-Apps.git
translate ▾

Modern-Apps.git / todo / build.gradle.kts

build.gradle.kts44 lines · 1.4 KiBRaw
1plugins {
2 id("common-conventions-app")
3 // Listing screenshots come from Compose previews (src/screenshotTest), not from an
4 // instrumented test on a device. Same `:todo:metadata` task name either way.
5 id("common-conventions-preview-metadata")
6 alias(libs.plugins.ksp)
7}
8
9launcherIcon {
10 symbol = "checklist"
11}
12
13// Pixel Watch 5 is armeabi-v7a (32-bit) only: an arm64-only APK is rejected at install.
14nativeAbis {
15 armv7 = true
16}
17
18android {
19 defaultConfig {
20 applicationId = "com.vayunmathur.todo"
21 }
22}
23
24ksp {
25 arg("room.schemaLocation", "$projectDir/schemas")
26}
27
28dependencies {
29 implementRoom(libs)
30 implementation(project(":library:room"))
31 implementation(project(":library:widgets"))
32 // Both sides of the Wear OS sync live in this one APK (same
33 // applicationId and signing, as the WearLink handshake requires):
34 // sync/WearTodoSync publishes the phone catalog/pages, sync/WearLinkBridge
35 // receives them on a watch. FormFactor picks the side at runtime.
36 implementation(project(":library:wearlink"))
37 // Watch experience (ui/Wear*): Wear Compose + the repo log facade the
38 // watch data/sync code writes through.
39 implementation(libs.androidx.wear.compose.material)
40 implementation(libs.androidx.wear.compose.foundation)
41 implementation(project(":library:log"))
42 implementation(libs.kotlinx.coroutines.android)
43 testImplementation(libs.androidx.sqlite.bundled.jvm)
44}