Compare commits

..

2 Commits

Author SHA1 Message Date
arnie b97e6f930b Update labels 2026-06-13 09:19:45 +02:00
arnie a196336f26 Add tests to flake 2026-06-12 21:02:34 +02:00
3 changed files with 7 additions and 4 deletions
+2 -2
View File
@@ -17,7 +17,7 @@ android {
applicationId = "cz.c3c.webviewkiosk" applicationId = "cz.c3c.webviewkiosk"
minSdk = 26 // Sony KD-65XE9305 final firmware = Android 8.0 minSdk = 26 // Sony KD-65XE9305 final firmware = Android 8.0
targetSdk = 35 targetSdk = 35
versionCode = 1 // bump on every release; adb install -r refuses downgrades versionCode = 3 // bump on every release; adb install -r refuses downgrades
versionName = "0.1.0" versionName = "0.1.0"
} }
@@ -50,7 +50,7 @@ android {
dimension = "webview" dimension = "webview"
applicationIdSuffix = ".$name" applicationIdSuffix = ".$name"
buildConfigField("String", "WEBVIEW_URL", "\"${config["url"]}\"") buildConfigField("String", "WEBVIEW_URL", "\"${config["url"]}\"")
resValue("string", "app_name", "C3C ${config["label"] ?: name}") resValue("string", "app_name", "${config["ui_label"] ?: config["label"] ?: name}")
} }
} }
} }
+2
View File
@@ -80,6 +80,7 @@
runtimeInputs = [ androidSdk pkgs.jdk21 pkgs.gradle_9 ]; runtimeInputs = [ androidSdk pkgs.jdk21 pkgs.gradle_9 ];
text = '' text = ''
${exportGradleEnv} ${exportGradleEnv}
gradle --no-daemon :app:test
gradle --no-daemon :app:assembleRelease gradle --no-daemon :app:assembleRelease
''; '';
}; };
@@ -89,6 +90,7 @@
runtimeInputs = [ androidSdk pkgs.jdk21 pkgs.gradle_9 pkgs.android-tools ]; runtimeInputs = [ androidSdk pkgs.jdk21 pkgs.gradle_9 pkgs.android-tools ];
text = '' text = ''
${exportGradleEnv} ${exportGradleEnv}
gradle --no-daemon :app:test
gradle --no-daemon :app:assembleRelease gradle --no-daemon :app:assembleRelease
${deployScript} ${deployScript}
''; '';
+3 -2
View File
@@ -1,7 +1,8 @@
weather: weather:
url: https://grafana.c3c.cz/public-dashboards/381fe3e71e164eb99dd0b10e246a36e2 url: https://grafana.c3c.cz/public-dashboards/381fe3e71e164eb99dd0b10e246a36e2
label: Weather ui_label: Počasí
house_condition: house_condition:
url: https://grafana.c3c.cz/public-dashboards/7d94ddc4493741debf49d0a301e1a757 url: https://grafana.c3c.cz/public-dashboards/7d94ddc4493741debf49d0a301e1a757
label: House Condition ui_label: Stav domu