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

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

build.gradle.kts45 lines · 1.5 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 implementation(project(":library:weartiles"))
38 // Watch experience (ui/Wear*): Wear Compose + the repo log facade the
39 // watch data/sync code writes through.
40 implementation(libs.androidx.wear.compose.material)
41 implementation(libs.androidx.wear.compose.foundation)
42 implementation(project(":library:log"))
43 implementation(libs.kotlinx.coroutines.android)
44 testImplementation(libs.androidx.sqlite.bundled.jvm)
45}