Initialize Android NTP app framework
android-apk / debug-apk (push) Has been cancelled

This commit is contained in:
2026-07-09 15:44:22 -08:00
commit bfb027fcd2
33 changed files with 1196 additions and 0 deletions
@@ -0,0 +1,5 @@
# Phase 0 Open Issues
- Confirm Gitea Actions runner has Android SDK support or can install it with `android-actions/setup-android`.
- Local machine needs a full supported JDK with `javac` (JDK 17 or 21) to build locally; current default Java 26 is unsupported by Gradle 8.10.2, and the Java 21 install appears runtime-only.
- Add release signing workflow after a keystore is created and stored as Gitea secrets.
+12
View File
@@ -0,0 +1,12 @@
# Phase 0 Summary
Initialized the NTP Android project framework with:
- Kotlin/Jetpack Compose Android project skeleton.
- Room data model for profiles, servers, and probe results.
- Raw UDP NTP client draft.
- Initial dashboard scaffold with seeded NTP servers and one-tap test action.
- Phase-gated documentation modeled after Second Brain.
- Gitea Actions workflow for debug APK artifacts.
Status: framework complete; build validation still depends on local/runner Android Gradle tooling.
@@ -0,0 +1,9 @@
# Phase 0 Test Results
## 2026-07-09
- `make validate-structure`: passed.
- `gradle wrapper --gradle-version 8.10.2 --distribution-type bin`: passed after adding Kotlin Compose compiler plugin.
- `./gradlew --no-daemon :app:assembleDebug`: blocked locally because the default Java 26 runtime is unsupported by Gradle 8.10.2.
- `JAVA_HOME=/usr/lib/jvm/java-21-openjdk ./gradlew --no-daemon :app:assembleDebug`: blocked locally because the installed Java 21 environment does not provide `javac` compiler capabilities.
- Gitea workflow added for automatic debug APK builds with JDK 17 and Android SDK setup.