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

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

build.gradle.kts35 lines · 970 BRaw
1plugins {
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
8launcherIcon {
9 symbol = "description"
10}
11
12android {
13 defaultConfig {
14 applicationId = "com.vayunmathur.office"
15 }
16}
17
18androidComponents {
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/.
27rustNativeLib("office_engine", "office")
28
29dependencies {
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}