Skip to content

Commit

Permalink
feat: automatic versionCode generation
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanpierrefortune committed Sep 20, 2024
1 parent 935a0a5 commit 0489271
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/android/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ android {
minSdk = 24
//noinspection ExpiredTargetSdkVersion
targetSdk = 31
versionCode = 6
versionName = project.version.toString()
versionCode = versionName!!.replace(".", "").toIntOrNull() ?: 1
}

buildTypes {
Expand Down

0 comments on commit 0489271

Please sign in to comment.