Phase 1: minimal Kotlin Android app shows Hub /health
Scaffold the Android Gradle project under android/ mirroring the proven internet_use_control toolchain: Gradle wrapper 8.11.1, AGP 8.7.3, Kotlin 2.0.21, compileSdk/targetSdk 35, Java/Kotlin 17, minSdk 29 (AGENTS.md §9). One Activity calls GET http://192.168.20.13:8788/health off the main thread and renders ok, service, version and every checks value plus the raw body. INTERNET permission and usesCleartextTraffic are declared for the LAN Hub. A failed or non-2xx call renders an explicit error line and never reports success (AGENTS.md §10 rule 4). applicationId au.audasmedia.hub.phone, versionName 0.1.0-phase1. Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
23
android/settings.gradle.kts
Normal file
23
android/settings.gradle.kts
Normal file
@@ -0,0 +1,23 @@
|
||||
// Kotlin Phone App + Admin — Sam's Android app (AGENTS.md §11 Phase 1).
|
||||
//
|
||||
// The toolchain is NOT on .13. `~/android/build.sh kotlin_phone_app_admin` on
|
||||
// .27 pulls this repo from Gitea and runs `./gradlew assembleDebug` in this
|
||||
// directory. Toolchain versions mirror the proven internet_use_control project.
|
||||
pluginManagement {
|
||||
repositories {
|
||||
google()
|
||||
mavenCentral()
|
||||
gradlePluginPortal()
|
||||
}
|
||||
}
|
||||
|
||||
dependencyResolutionManagement {
|
||||
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
|
||||
repositories {
|
||||
google()
|
||||
mavenCentral()
|
||||
}
|
||||
}
|
||||
|
||||
rootProject.name = "HubPhone"
|
||||
include(":app")
|
||||
Reference in New Issue
Block a user