6e94a0c998
- Admin TVs tab: wake time/days, YouTube Music playlist, Shield volume per TV, pushed via 5-min TV check-ins (/api/tv/config, /api/tv/report, LAN-only) - com.dayline.photos 1.2.1: MorningActivity (screen on, volume, playlist), calendar alarm at wake time, Doze-safe chained check-ins - Both TVs configured for 06:30 daily with the family playlist Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01E9NnVEico3WvFxLyjy1iW3
59 lines
1.6 KiB
Groovy
59 lines
1.6 KiB
Groovy
plugins {
|
|
id "com.android.application"
|
|
}
|
|
|
|
// Signing key lives outside the repo (see BUILDING.md). keystore.properties provides
|
|
// storeFile, storePassword, keyAlias, keyPassword.
|
|
def keystoreProps = new Properties()
|
|
def keystoreFile = rootProject.file("keystore.properties")
|
|
if (keystoreFile.exists()) keystoreFile.withInputStream { keystoreProps.load(it) }
|
|
|
|
android {
|
|
namespace "com.dayline.photos"
|
|
compileSdk 35
|
|
|
|
defaultConfig {
|
|
applicationId "com.dayline.photos"
|
|
minSdk 26
|
|
targetSdk 35
|
|
versionCode 4
|
|
versionName "1.2.1"
|
|
buildConfigField "String", "DEFAULT_URL", "\"http://192.168.86.100:8340/photo\""
|
|
}
|
|
|
|
buildFeatures {
|
|
buildConfig true
|
|
}
|
|
|
|
signingConfigs {
|
|
release {
|
|
if (keystoreProps["storeFile"]) {
|
|
storeFile file(keystoreProps["storeFile"])
|
|
storePassword keystoreProps["storePassword"]
|
|
keyAlias keystoreProps["keyAlias"]
|
|
keyPassword keystoreProps["keyPassword"]
|
|
}
|
|
}
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
// debuggable so `adb shell run-as com.dayline.photos` can write files/base_url,
|
|
// the same provisioning model as the dashboard app.
|
|
debuggable true
|
|
signingConfig signingConfigs.release
|
|
}
|
|
}
|
|
|
|
lint {
|
|
abortOnError false
|
|
checkReleaseBuilds false
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_17
|
|
targetCompatibility JavaVersion.VERSION_17
|
|
}
|
|
}
|