Modern-Apps.git
Publicgit clone https://git.maproj.org/Modern-Apps.gitModern-Apps.git / calendar / build.gradle.kts
build.gradle.kts38 lines · 1.3 KiBRaw
| 1 | plugins { |
| 2 | id("common-conventions-app") |
| 3 | // Listing screenshots come from Compose previews (src/screenshotTest), not from an |
| 4 | // instrumented test on a device. Same `:calendar:metadata` task name either way. |
| 5 | id("common-conventions-preview-metadata") |
| 6 | } |
| 7 | |
| 8 | launcherIcon { |
| 9 | symbol = "calendar_month" |
| 10 | } |
| 11 | |
| 12 | // Pixel Watch 5 is armeabi-v7a (32-bit) only: an arm64-only APK is rejected at install. |
| 13 | nativeAbis { |
| 14 | armv7 = true |
| 15 | } |
| 16 | |
| 17 | android { |
| 18 | defaultConfig { |
| 19 | applicationId = "com.vayunmathur.calendar" |
| 20 | } |
| 21 | } |
| 22 | |
| 23 | dependencies { |
| 24 | implementation(project(":library:widgets")) |
| 25 | // Both sides of the Wear OS sync live in this one APK (same |
| 26 | // applicationId and signing, as the WearLink handshake requires): |
| 27 | // sync/WearCalendarSync publishes the phone snapshot, sync/WearLinkBridge |
| 28 | // receives it on a watch. FormFactor picks the side at runtime. |
| 29 | implementation(project(":library:wearlink")) |
| 30 | implementation(project(":library:weartiles")) |
| 31 | // Watch experience (ui/Wear*): Wear Compose for the round agenda UI. |
| 32 | implementation(libs.androidx.wear.compose.material) |
| 33 | implementation(libs.androidx.wear.compose.foundation) |
| 34 | implementation(libs.kotlinx.coroutines.android) |
| 35 | testImplementation(libs.androidx.glance.testing) |
| 36 | testImplementation(libs.androidx.glance.appwidget.testing) |
| 37 | |
| 38 | } |