Skip to content

Commit

Permalink
Changed version format
Browse files Browse the repository at this point in the history
  • Loading branch information
pakka-papad committed Dec 2, 2023
1 parent 183ef50 commit 20f6973
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions buildSrc/src/main/kotlin/Dependencies.kt
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,10 @@ object AnnotationProcessors {
}

object AppVersion {
const val Code = 2
const val Name = "1.1"
private const val Major = 1
private const val Minor = 2
private const val Patch = 0
const val Code = Major*10000 + Minor*100 + Patch
const val Name = "$Major.$Minor.$Patch"
}

0 comments on commit 20f6973

Please sign in to comment.