A Rust backend that discovers Android projects under configured roots, builds one on request, and serves the APK over pinned TLS on a WireGuard interface; an Android client that lists what is buildable, watches a build, and installs the result. Enrolment carries the token and the CA, so the phone trusts exactly the machine that issued it and nothing else. `AGENTS.md` is the working guide and `README.md` the configuration reference. The shared tunnel-and-TLS code lives in `vendor/wg-app-link`, which ai-app uses too. History before this point was squashed away, and a stale `config.json` went with it: nothing had read that file since the config moved to RON outside the checkout, and what it still held was one machine's absolute paths and the names of projects on it.
18 lines
785 B
Kotlin
18 lines
785 B
Kotlin
plugins {
|
|
alias(libs.plugins.androidApplication) apply false
|
|
alias(libs.plugins.androidLibrary) apply false
|
|
alias(libs.plugins.composeMultiplatform) apply false
|
|
alias(libs.plugins.composeCompiler) apply false
|
|
// Applied here as well as in :androidApp, because a project only
|
|
// formats its own files -- this one owns the two build scripts at the
|
|
// root, and that module owns the Kotlin.
|
|
alias(libs.plugins.ktfmt)
|
|
}
|
|
|
|
// ktfmt offers exactly two styles. This is the one in kotlinlang.org's
|
|
// coding conventions; the other is Google's 2-space internal style.
|
|
// Picked as the language's own standard rather than because it matches
|
|
// what is here -- matching is a consequence, and would be the wrong
|
|
// reason (code rule 27).
|
|
ktfmt { kotlinLangStyle() }
|