plugins { id("common-conventions-app") // Store-listing screenshots come from Compose previews (src/screenshotTest). id("common-conventions-preview-metadata") } launcherIcon { symbol = "lock" } // Pixel Watch is armeabi-v7a (32-bit) only; the PGP native lib must ship armv7. nativeAbis { armv7 = true } android { defaultConfig { applicationId = "com.vayunmathur.securemail" } buildFeatures { buildConfig = true } packaging { resources { excludes += "/META-INF/{AL2.0,LGPL2.1}" excludes += "META-INF/NOTICE.md" excludes += "META-INF/LICENSE.md" } } } dependencies { // Custom REST + WebSocket relay to mail.maemail.org (dynamic host → SYSTEM trust). implementation(project(":library:network")) // Biometric gate before the Keystore-wrapped PGP private key is unwrapped. implementation(project(":library:biometric")) // Periodic inbox poll as a backstop behind the live socket. implementation(project(":library:work")) implementation(project(":library:room")) implementRoom(libs) // Address token + onboarded flag. implementation(libs.androidx.datastore.preferences) // OpenPGP via the native Rust core (rPGP in libe2ee_pgp.so). No BouncyCastle. // Split out of :library:e2ee-p2p so non-mail apps don't link rPGP (#873); // securemail is the only consumer of the PGP surface. implementation(project(":library:e2ee-openpgp")) // Merged phone+watch Wear OS experience (single APK, FormFactor routing). implementation(project(":library:wearlink")) implementation(project(":library:log")) implementation(libs.androidx.wear.compose.material) implementation(libs.androidx.wear.compose.foundation) implementation(libs.kotlinx.coroutines.android) implementation(libs.kotlinx.serialization.json) }