We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74637df commit 51cb85bCopy full SHA for 51cb85b
buildSrc/src/main/java/Dependencies.kt
@@ -15,20 +15,30 @@ object Android {
15
sealed class Packaging(
16
majorVersion: Int,
17
minorVersion: Int,
18
- patchVersion: Int
+ patchVersion: Int,
19
+ postFix: String,
20
) {
- val versionName = "$majorVersion.$minorVersion.$patchVersion"
21
+ val versionName = "$majorVersion.$minorVersion.$patchVersion".let {
22
+ if (postFix.isNotEmpty()) {
23
+ "$it-$postFix"
24
+ } else {
25
+ it
26
+ }
27
28
29
object Code: Packaging(
30
majorVersion = 2,
31
minorVersion = 1,
32
patchVersion = 14,
33
+ postFix = ""
34
)
35
36
object Flipchat: Packaging(
37
majorVersion = 1,
38
minorVersion = 0,
- patchVersion = 5,
39
+ patchVersion = 6,
40
+ postFix = "SNAPSHOT"
41
+
42
43
}
44
0 commit comments