plugins { id("common-conventions-app") // androidx.tv, so the in-app TV mode is built on a design system that knows what a // D-pad is. Named alongside (the cast:tv precedent): the launcherIcon/nativeAbis // accessors are generated from directly-applied plugins. id("common-conventions-tv") // Listing screenshots come from Compose previews (src/screenshotTest), not from an // instrumented test on a device. Same `:launcher:metadata` task name either way. id("common-conventions-preview-metadata") alias(libs.plugins.ksp) } launcherIcon { symbol = "apps" } // Google TV hardware runs a 32-bit userspace: an arm64-only APK is rejected at install. nativeAbis { armv7 = true } android { defaultConfig { applicationId = "com.vayunmathur.launcher" } } dependencies { implementRoom(libs) implementation(project(":library:room")) // Both sides of the watch-launcher favorites sync live in this one APK // (same applicationId and signing, as the WearLink handshake requires): // sync/WearLauncherSync publishes the phone hotseat snapshot, // sync/WearLinkBridge receives it on a watch. FormFactor picks the side. implementation(project(":library:wearlink")) // Watch experience (ui/Wear*): Wear Compose + the repo log facade the // watch platform/sync code writes through. implementation(libs.androidx.wear.compose.material) implementation(libs.androidx.wear.compose.foundation) implementation(project(":library:log")) implementation(libs.androidx.datastore.preferences) // Declared rather than relied on transitively: a launcher is mostly motion, so `Animatable`, // `animateBounds` and the animation specs are load-bearing here rather than incidental. implementation(libs.androidx.compose.animation) // Direct (not transitive): pins coroutines at the catalog version (1.11.0) for the // app graph. A transitive bom holds core at 1.9.0 while coroutines-test resolves // 1.11.0, and 1.11.0's test artifact calls a core method added after 1.9.0, so every // coroutine-based androidTest dies in NoSuchMethodError. Email already ships 1.11.0. implementation(libs.kotlinx.coroutines.android) // DAO tests use a real in-memory Room database via the bundled sqlite driver. testImplementation(libs.androidx.sqlite.bundled.jvm) }