plugins { id("common-conventions-app") // Listing screenshots come from Compose previews (src/screenshotTest), not from an // instrumented test on a device. Same `:contacts:metadata` task name either way. id("common-conventions-preview-metadata") } launcherIcon { symbol = "person" } // Pixel Watch 5 is armeabi-v7a (32-bit) only: an arm64-only APK is rejected at install. nativeAbis { armv7 = true } android { defaultConfig { applicationId = "com.vayunmathur.contacts" } // vCard parser tests call the real Log facade on the JVM: without this every // android.util stub throws "not mocked". Same flag :maps sets for its // side-file reader tests. testOptions.unitTests.isReturnDefaultValues = true } dependencies { // VCF export/import now uses java.io BufferedReader/Writer – no okio needed implementation(libs.libphonenumber) // Both sides of the Wear OS sync live in this one APK (same // applicationId and signing on phone and watch): // sync/WearContactsSync publishes the phone snapshot, sync/WearLinkBridge // receives it on a watch. FormFactor picks the side at runtime. implementation(project(":library:wearlink")) implementation(libs.androidx.work.runtime.ktx) // Watch experience (ui/Wear*): Wear Compose for the watch screens. implementation(libs.androidx.wear.compose.material) implementation(libs.androidx.wear.compose.foundation) implementation(libs.kotlinx.coroutines.android) }