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

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

build.gradle.kts40 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 `:clock:metadata` task name either way.
5 id("common-conventions-preview-metadata")
6 alias(libs.plugins.ksp)
7}
8
9launcherIcon {
10 symbol = "schedule"
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.clock"
21 }
22}
23
24dependencies {
25 implementation(project(":library:widgets"))
26 implementRoom(libs)
27 implementation(project(":library:room"))
28 // Both sides of the Wear OS sync live in this one APK (same
29 // applicationId and signing, as the WearLink handshake requires):
30 // sync/WearClockSync publishes the phone snapshot, sync/WearLinkBridge
31 // receives it on a watch. FormFactor picks the side at runtime.
32 implementation(project(":library:wearlink"))
33 implementation(project(":library:weartiles"))
34 // Watch experience (ui/Wear*): Wear Compose + the repo log facade the
35 // watch platform/sync code writes through.
36 implementation(libs.androidx.wear.compose.material)
37 implementation(libs.androidx.wear.compose.foundation)
38 implementation(project(":library:log"))
39 implementation(libs.kotlinx.coroutines.android)
40}