New xtask/ crate (no deps) runs cargo ndk -> javac -> d8 -> aapt2 -> zipalign -> apksigner directly, signed with the same key build-apk.sh uses. Both pass conditions proved on the ai-app-2 emulator: the xtask APK installs over the Gradle-built shellApp, and the notification service starts and posts a real notification while backgrounded. Adds one printRuntimeClasspathJars task to shellApp/build.gradle.kts (and a matching signingConfig) -- the one disclosed Gradle call the xtask still makes, to resolve the AndroidX/:link dependency graph. That call's Kotlin compilation of :link as a side effect also answers E3's open kotlinc question, so no Java port of ServerStore was needed. Wires a second Apk component into .dev-updater.ron beside the existing one. Full writeup in RUST.md's E5 box. Co-Authored-By: Claude Sonnet <noreply@anthropic.com>
7 lines
341 B
TOML
7 lines
341 B
TOML
# xtask convention (https://github.com/matklad/cargo-xtask), without folding
|
|
# every crate in this repo into one workspace -- they are deliberately
|
|
# independent (see run-tests.sh, which cds into each). `cargo xtask apk`
|
|
# from the repo root runs xtask/src/main.rs directly.
|
|
[alias]
|
|
xtask = "run --quiet --manifest-path xtask/Cargo.toml --"
|