Modern-Apps.git
Publicgit clone https://git.maproj.org/Modern-Apps.gitModern-Apps.git / notes / build.gradle.kts
build.gradle.kts41 lines · 1.4 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 `:notes:metadata` task name either way. |
| 5 | id("common-conventions-preview-metadata") |
| 6 | alias(libs.plugins.ksp) |
| 7 | } |
| 8 | |
| 9 | launcherIcon { |
| 10 | symbol = "subject" |
| 11 | } |
| 12 | |
| 13 | // Pixel Watch 5 is armeabi-v7a (32-bit) only: an arm64-only APK is rejected at install. |
| 14 | nativeAbis { |
| 15 | armv7 = true |
| 16 | } |
| 17 | |
| 18 | android { |
| 19 | defaultConfig { |
| 20 | applicationId = "com.vayunmathur.notes" |
| 21 | } |
| 22 | } |
| 23 | |
| 24 | dependencies { |
| 25 | testImplementation(libs.androidx.sqlite.bundled.jvm) |
| 26 | implementRoom(libs) |
| 27 | implementation(project(":library:room")) |
| 28 | implementation(project(":library:ink")) |
| 29 | implementation(project(":library:image")) |
| 30 | // Both sides of the Wear OS sync live in this one APK (same |
| 31 | // applicationId and signing, as the WearLink handshake requires): |
| 32 | // sync/WearNotesSync publishes the phone snapshot, sync/WearLinkBridge |
| 33 | // receives it on a watch. FormFactor picks the side at runtime. |
| 34 | implementation(project(":library:wearlink")) |
| 35 | // Watch experience (ui/Wear*): Wear Compose + the repo log facade the |
| 36 | // watch data/sync code writes through. |
| 37 | implementation(libs.androidx.wear.compose.material) |
| 38 | implementation(libs.androidx.wear.compose.foundation) |
| 39 | implementation(project(":library:log")) |
| 40 | implementation(libs.kotlinx.coroutines.android) |
| 41 | } |