Modern-Apps.git
Publicgit clone https://git.maproj.org/Modern-Apps.gitModern-Apps.git / cast / protocol / build.gradle.kts
build.gradle.kts18 lines · 850 BRaw
| 1 | plugins { |
| 2 | id("common-conventions-library") |
| 3 | } |
| 4 | |
| 5 | // Deliberately NOT common-conventions-jvm, even though every test here runs on the JVM: |
| 6 | // SecretSealing reaches ML-KEM through :library:e2ee-p2p, whose implementation is a Rust |
| 7 | // .so, so this has to be an Android library to consume it. Nothing else in the module |
| 8 | // touches the Android framework, which is what keeps the round-trip suite host-runnable. |
| 9 | // |
| 10 | // No `defaultConfig {` block: release.sh sed-injects versionCode/versionName after that |
| 11 | // literal in every build.gradle.kts it finds, and a library has no such properties. |
| 12 | |
| 13 | dependencies { |
| 14 | // Pqc.encryptTo / PqcIdentity.decrypt (SecretSealing) and Hkdf key derivation |
| 15 | // (KeySchedule): crypto comes from one module, so this protocol SDK needs |
| 16 | // no :library dependency (#884). |
| 17 | implementation(project(":library:e2ee-p2p")) |
| 18 | } |