add an about page #25
Auto Tag on Version Change / check-version (push) Successful in 3s

This commit is contained in:
2026-06-04 23:12:27 +05:00
parent e3c6b3a695
commit 6a910facaf
6 changed files with 337 additions and 0 deletions
+14
View File
@@ -1,8 +1,18 @@
import java.util.Properties
plugins {
alias(libs.plugins.android.application)
alias(libs.plugins.kotlin.android)
}
val localProps = Properties().also { props ->
val f = rootProject.file("local.properties")
if (f.exists()) props.load(f.inputStream())
}
fun localOrEnv(key: String, envKey: String) =
localProps.getProperty(key) ?: System.getenv(envKey) ?: ""
android {
namespace = "sh.sar.basedbank"
compileSdk = 36
@@ -15,6 +25,9 @@ android {
versionName = "1.0.17"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
buildConfigField("String", "ACCOUNT_MVR", "\"${localOrEnv("account.mvr", "ACCOUNT_MVR")}\"")
buildConfigField("String", "ACCOUNT_USD", "\"${localOrEnv("account.usd", "ACCOUNT_USD")}\"")
}
signingConfigs {
@@ -49,6 +62,7 @@ android {
}
buildFeatures {
viewBinding = true
buildConfig = true
}
}