feat: redesign settings screen

This commit is contained in:
2026-05-23 12:55:37 +00:00
parent d81c382ba5
commit ef56db5d16
8 changed files with 109 additions and 31 deletions

View File

@@ -24,12 +24,10 @@ android {
buildTypes {
debug {
applicationIdSuffix = ".debug"
versionCode = providers.gradleProperty("purefinDebugVersionCode").get().toInt()
versionNameSuffix = "-debug"
manifestPlaceholders["updateManifestUrl"] = "https://apks.t.bbara.hu/apps/purefin-app-debug/update.json"
}
release {
versionCode = providers.gradleProperty("purefinReleaseVersionCode").get().toInt()
// Enables code-related app optimization.
isMinifyEnabled = true
@@ -51,6 +49,19 @@ android {
}
}
androidComponents {
onVariants(selector().withBuildType("debug")) { variant ->
variant.outputs.forEach { output ->
output.versionCode.set(providers.gradleProperty("purefinDebugVersionCode").map { it.toInt() })
}
}
onVariants(selector().withBuildType("release")) { variant ->
variant.outputs.forEach { output ->
output.versionCode.set(providers.gradleProperty("purefinReleaseVersionCode").map { it.toInt() })
}
}
}
kotlin {
compilerOptions {
jvmTarget.set(JvmTarget.JVM_11)