11 Commits

Author SHA1 Message Date
arnie a196336f26 Add tests to flake 2026-06-12 21:02:34 +02:00
arnie 038cb51ba4 Update build process 2026-06-12 20:44:32 +02:00
arnie d2ad1ebe0b fix: tv-deploy as real script so direnv exposes it in PATH
build / build (push) Failing after 3m59s
shellHook functions are invisible to direnv; writeShellScriptBin
produces an actual binary added to packages.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-12 20:17:03 +02:00
arnie a8ff404116 refactor: remove tv-connect and tv-install helpers
build / build (push) Has been cancelled
tv-deploy covers the normal workflow.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-12 20:16:07 +02:00
arnie 5991a4291a feat: add tv-deploy devshell command
build / build (push) Has been cancelled
Connects adb, installs all flavor APKs, disconnects on exit (trap).
tv-connect and tv-install kept for manual use.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-12 20:15:50 +02:00
arnie dd04fba9af feat: add tv-connect / tv-install devshell helpers
build / build (push) Has been cancelled
tv-connect: adb connect $TV_IP:5555
tv-install <flavor>: installs flavor release APK

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-12 20:14:47 +02:00
arnie b57e65f760 chore: upgrade toolchain to AGP 9.2.1 / Gradle 9 / nixpkgs 26.05
build / build (push) Has been cancelled
- nixpkgs 25.11 → 26.05; gradle_9 + jdk21; build-tools 35 → 36
- Drop custom gradle wrapper — GRADLE_OPTS works post-nixpkgs PR #449037
- AGP 8.7.3 → 9.2.1; Kotlin plugin removed (built-in since AGP 9)
- compileSdk/targetSdk 34 → 35; buildToolsVersion pinned to 36.0.0
- Java/Kotlin target 17 → 21; resValues feature flag required by AGP 9
- applicationVariants (removed in AGP 9) → androidComponents.onVariants
- Test task: testWeatherReleaseUnitTest → :app:test (all flavors, debug)
- CI artifact path fixed to cover all flavor APKs
- Docs: drop nix develop --command prefix (direnv activates shell)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-12 20:12:22 +02:00
arnie 32e45c266d Fix gradle aapt2 linking
build / build (push) Failing after 2m56s
2026-06-12 19:05:03 +02:00
arnie 184f7b3b4c Add fonts
build / build (push) Failing after 2m58s
2026-06-12 18:46:47 +02:00
Arnie via Claude 57aa0ab57b fix: use shellHook to set aapt2 override via gradle.properties
AGP 8.7.3 reads android.aapt2FromMavenOverride via providers.gradleProperty()
which only reads gradle.properties files, not JVM system properties set via
GRADLE_OPTS -D. The shellHook rewrites the sentinel value on every nix develop
so the correct nix store path is always present before gradle runs.
2026-06-12 12:25:47 +02:00
Arnie via Claude fd877411ef feat: nix dev shell with Android SDK 34, JDK 17, gradle 2026-06-12 00:28:27 +02:00