Modern Apps git
git clone https://git.maproj.org/Modern-Apps.git
translate ▾

Modern-Apps.git / securemail / build.gradle.kts

build.gradle.kts44 lines · 1.4 KiBRaw
1plugins {
2 id("common-conventions-app")
3 // Store-listing screenshots come from Compose previews (src/screenshotTest).
4 id("common-conventions-preview-metadata")
5}
6
7launcherIcon {
8 symbol = "lock"
9}
10
11android {
12 defaultConfig {
13 applicationId = "com.vayunmathur.securemail"
14 }
15
16 buildFeatures {
17 buildConfig = true
18 }
19
20 packaging {
21 resources {
22 excludes += "/META-INF/{AL2.0,LGPL2.1}"
23 excludes += "META-INF/NOTICE.md"
24 excludes += "META-INF/LICENSE.md"
25 }
26 }
27}
28
29dependencies {
30 // Custom REST + WebSocket relay to mail.maemail.org (dynamic host → SYSTEM trust).
31 implementation(project(":library:network"))
32 // Biometric gate before the Keystore-wrapped PGP private key is unwrapped.
33 implementation(project(":library:biometric"))
34 // Periodic inbox poll as a backstop behind the live socket.
35 implementation(project(":library:work"))
36 implementation(project(":library:room"))
37 implementRoom(libs)
38 // Address token + onboarded flag.
39 implementation(libs.androidx.datastore.preferences)
40 // OpenPGP via the native Rust core (rPGP in libe2ee_pgp.so). No BouncyCastle.
41 // Split out of :library:e2ee-p2p so non-mail apps don't link rPGP (#873);
42 // securemail is the only consumer of the PGP surface.
43 implementation(project(":library:e2ee-openpgp"))
44}