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

Modern-Apps.git / library / room / build.gradle.kts

build.gradle.kts18 lines · 706 BRaw
1plugins {
2 id("common-conventions-library")
3 alias(libs.plugins.ksp)
4}
5
6dependencies {
7 // SqlCipherDbCodec implements the DbBackupCodec interface from :library, so
8 // this edge stays: both modules are permission-free (documented in #884).
9 implementation(project(":library"))
10
11 // room + SQLCipher. The 2 MB libsqlcipher.so lives here, so only apps that
12 // depend on :library:room bundle it. sqlcipher is exposed via `api` because the
13 // inline `buildDatabase` body references SQLCipherDriver at each app
14 // call site, so it must be on the consuming app's compile classpath.
15 implementRoom(libs)
16 api(libs.sqlcipher.android)
17 implementation(libs.androidx.sqlite)
18}