Add event add and edit
This commit is contained in:
parent
2c5d9b6df1
commit
62c3639a9e
44 changed files with 1897 additions and 473 deletions
|
|
@ -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
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue