Modern-Apps.git
Publicgit clone https://git.maproj.org/Modern-Apps.gitModern-Apps.git / openassistant / build.gradle.kts
build.gradle.kts48 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 `:openassistant:metadata` task name either way. |
| 5 | id("common-conventions-preview-metadata") |
| 6 | alias(libs.plugins.ksp) |
| 7 | } |
| 8 | |
| 9 | launcherIcon { |
| 10 | symbol = "robot_2" |
| 11 | } |
| 12 | |
| 13 | android { |
| 14 | defaultConfig { |
| 15 | applicationId = "com.vayunmathur.openassistant" |
| 16 | } |
| 17 | |
| 18 | packaging { |
| 19 | jniLibs { |
| 20 | pickFirsts.add("**/libc++_shared.so") |
| 21 | } |
| 22 | } |
| 23 | } |
| 24 | |
| 25 | dependencies { |
| 26 | |
| 27 | // room |
| 28 | implementRoom(libs) |
| 29 | implementation(project(":library:room")) |
| 30 | |
| 31 | // adaptive navigation |
| 32 | implementation(libs.androidx.compose.material3.adaptive.navigation.suite) |
| 33 | |
| 34 | // display images |
| 35 | implementation(project(":library:image")) |
| 36 | |
| 37 | // ai |
| 38 | // Gemma 4 chat runs on `:library:ml`'s Vulkan runtime (Gemma4Handle). |
| 39 | implementation(project(":library:ml")) |
| 40 | implementation(libs.kotlinx.coroutines.android) |
| 41 | |
| 42 | implementation(project(":library:downloadservice")) |
| 43 | |
| 44 | // generative UI: the model emits A2UI components, rendered natively in chat |
| 45 | implementation(libs.androidx.a2ui.model) |
| 46 | implementation(libs.androidx.a2ui.engine) |
| 47 | implementation(libs.kotlinx.serialization.json) |
| 48 | } |