Modern-Apps.git
Publicgit clone https://git.maproj.org/Modern-Apps.gitModern-Apps.git / office / build.gradle.kts
build.gradle.kts35 lines · 970 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 `:<module>:metadata` task name either way. |
| 5 | id("common-conventions-preview-metadata") |
| 6 | } |
| 7 | |
| 8 | launcherIcon { |
| 9 | symbol = "description" |
| 10 | } |
| 11 | |
| 12 | android { |
| 13 | defaultConfig { |
| 14 | applicationId = "com.vayunmathur.office" |
| 15 | } |
| 16 | } |
| 17 | |
| 18 | androidComponents { |
| 19 | onVariants { variant -> |
| 20 | variant.sources.jniLibs?.addStaticSourceDirectory( |
| 21 | layout.buildDirectory.dir("rustJniLibs").get().asFile.absolutePath |
| 22 | ) |
| 23 | } |
| 24 | } |
| 25 | |
| 26 | // Native ODF formula engine + document CRDT (Rust). See office/src/main/rust/. |
| 27 | rustNativeLib("office_engine", "office") |
| 28 | |
| 29 | dependencies { |
| 30 | implementation(project(":library:network")) |
| 31 | implementation(project(":library:e2ee-p2p")) |
| 32 | |
| 33 | // Provides a real XmlPullParser implementation for JVM unit tests (Android's is a stub). |
| 34 | testImplementation(libs.kxml2) |
| 35 | } |