Modern-Apps.git
Publicgit clone https://git.maproj.org/Modern-Apps.gitModern-Apps.git / translate / build.gradle.kts
build.gradle.kts35 lines · 1.2 KiBRaw
| 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 `:translate:metadata` task name either way. |
| 5 | id("common-conventions-preview-metadata") |
| 6 | alias(libs.plugins.ksp) |
| 7 | } |
| 8 | |
| 9 | launcherIcon { |
| 10 | symbol = "translate" |
| 11 | } |
| 12 | |
| 13 | android { |
| 14 | defaultConfig { |
| 15 | applicationId = "com.vayunmathur.translate" |
| 16 | } |
| 17 | } |
| 18 | |
| 19 | dependencies { |
| 20 | // On-device translation runs on `:library:ml`'s own Vulkan compute runtime (NLLB-200 via |
| 21 | // `NllbHandle`); the two model files are downloaded at runtime from the mirror. |
| 22 | implementation(project(":library:ml")) |
| 23 | implementation(project(":library:downloadservice")) |
| 24 | implementation(project(":library:ocr")) |
| 25 | implementation(project(":library:network")) |
| 26 | implementation(libs.androidx.exifinterface) |
| 27 | implementation(libs.androidx.datastore.preferences) |
| 28 | implementation(libs.androidx.camera.core) |
| 29 | implementation(libs.androidx.camera.camera2) |
| 30 | implementation(libs.androidx.camera.lifecycle) |
| 31 | implementation(libs.androidx.camera.view) |
| 32 | implementation(libs.androidx.camera.compose) |
| 33 | implementRoom(libs) |
| 34 | implementation(project(":library:room")) |
| 35 | } |