9523b68fea
- Add .github/workflows/build-scale-gateway.yml Triggers on push to main (evershelf-scale-gateway/** path filter) Builds debug APK with Gradle/JDK 17, renames to evershelf-scale-gateway.apk Creates/updates 'latest' GitHub Release so the direct download URL resolves - Bump web app version v1.2.0 -> v1.3.0 (index.html) - Bump Android versionCode 1->2, versionName 1.0.0->1.3.0 (app/build.gradle.kts)
42 lines
1.1 KiB
Kotlin
42 lines
1.1 KiB
Kotlin
plugins {
|
|
id("com.android.application")
|
|
id("org.jetbrains.kotlin.android")
|
|
}
|
|
|
|
android {
|
|
namespace = "it.dadaloop.evershelf.scalegate"
|
|
compileSdk = 34
|
|
|
|
defaultConfig {
|
|
applicationId = "it.dadaloop.evershelf.scalegate"
|
|
minSdk = 24
|
|
targetSdk = 34
|
|
versionCode = 2
|
|
versionName = "1.3.0"
|
|
}
|
|
|
|
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.recyclerview:recyclerview:1.3.2")
|
|
// WebSocket server
|
|
implementation("org.java-websocket:Java-WebSocket:1.5.5")
|
|
// Coroutines
|
|
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.3")
|
|
}
|