9e4a8323c3
Webapp: v1.5.0 → v1.6.0
Kiosk: v1.3.0 → v1.4.0 (versionCode 4→5)
Scale GW: v2.0.0 → v2.1.0 (versionCode 6→7)
CI: build-scale-gateway.yml now also triggers on develop branch
(was main-only, causing APK builds to not run on feature branches)
CHANGELOG: added [1.6.0] entry covering PackageInstaller OTA fixes,
dashboard skeleton, update banners, cooking mode z-index, XOR token
README: updated 'Recent Updates' section with 1.6.0 highlights
63 lines
1.7 KiB
Kotlin
63 lines
1.7 KiB
Kotlin
plugins {
|
|
id("com.android.application")
|
|
id("org.jetbrains.kotlin.android")
|
|
}
|
|
|
|
android {
|
|
namespace = "it.dadaloop.evershelf.kiosk"
|
|
compileSdk = 34
|
|
|
|
defaultConfig {
|
|
applicationId = "it.dadaloop.evershelf.kiosk"
|
|
minSdk = 24
|
|
targetSdk = 34
|
|
versionCode = 5
|
|
versionName = "1.4.0"
|
|
}
|
|
|
|
signingConfigs {
|
|
// Use the standard Android debug keystore when building locally so the
|
|
// debug APK signature stays consistent across machines (needed for OTA updates).
|
|
// In CI the keystore doesn't exist — fall back to Gradle's auto-generated key.
|
|
getByName("debug") {
|
|
val ks = file("${System.getProperty("user.home")}/.android/debug.keystore")
|
|
if (ks.exists()) {
|
|
storeFile = ks
|
|
storePassword = "android"
|
|
keyAlias = "androiddebugkey"
|
|
keyPassword = "android"
|
|
}
|
|
}
|
|
}
|
|
|
|
buildTypes {
|
|
debug {
|
|
signingConfig = signingConfigs.getByName("debug")
|
|
}
|
|
release {
|
|
isMinifyEnabled = false
|
|
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"))
|
|
}
|
|
}
|
|
|
|
buildFeatures {
|
|
viewBinding = true
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
|
}
|
|
kotlinOptions {
|
|
jvmTarget = "1.8"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation("androidx.core:core-ktx:1.12.0")
|
|
implementation("androidx.appcompat:appcompat:1.6.1")
|
|
implementation("com.google.android.material:material:1.11.0")
|
|
implementation("androidx.constraintlayout:constraintlayout:2.1.4")
|
|
implementation("androidx.webkit:webkit:1.10.0")
|
|
}
|