Add event add and edit

This commit is contained in:
Andres Gomez, Thomas (ITDV RL) 2025-09-03 18:50:40 +02:00
parent 2c5d9b6df1
commit 62c3639a9e
44 changed files with 1897 additions and 473 deletions

View file

@ -51,7 +51,7 @@ android {
isMinifyEnabled = true
signingConfig = signingConfigs.getByName("pixelized")
defaultConfig {
versionCode = 1 // getGitBuildNumber()
versionCode = getGitBuildNumber()
}
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
@ -65,6 +65,7 @@ android {
}
kotlinOptions {
jvmTarget = "11"
freeCompilerArgs = listOf("-XXLanguage:+PropertyParamAnnotationDefaultTargetMode")
}
buildFeatures {
compose = true
@ -116,7 +117,7 @@ private fun getGitBuildNumber(
standardOutput = stdout
}
stdout.toString(charset).trim().toInt()
} catch (e: Exception) {
0
} catch (_: Exception) {
1
}
}