Modern-Apps.git
Publicgit clone https://git.maproj.org/Modern-Apps.gitModern-Apps.git / contacts / build.gradle.kts
build.gradle.kts26 lines · 830 BRaw
| 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 `:contacts:metadata` task name either way. |
| 5 | id("common-conventions-preview-metadata") |
| 6 | } |
| 7 | |
| 8 | launcherIcon { |
| 9 | symbol = "person" |
| 10 | } |
| 11 | |
| 12 | android { |
| 13 | defaultConfig { |
| 14 | applicationId = "com.vayunmathur.contacts" |
| 15 | } |
| 16 | // vCard parser tests call the real Log facade on the JVM: without this every |
| 17 | // android.util stub throws "not mocked". Same flag :maps sets for its |
| 18 | // side-file reader tests. |
| 19 | testOptions.unitTests.isReturnDefaultValues = true |
| 20 | } |
| 21 | |
| 22 | dependencies { |
| 23 | // VCF export/import now uses java.io BufferedReader/Writer – no okio needed |
| 24 | implementation(libs.libphonenumber) |
| 25 | implementation(libs.androidx.work.runtime.ktx) |
| 26 | } |