|
@@ -8,6 +8,11 @@ if (googleServicesEnabled) {
|
8
|
8
|
apply plugin: 'io.fabric'
|
9
|
9
|
}
|
10
|
10
|
|
|
11
|
+// Use the number of seconds/10 since Jan 1 2019 as the versionCode.
|
|
12
|
+// This lets us upload a new build at most every 10 seconds for the
|
|
13
|
+// next ~680 years.
|
|
14
|
+// https://stackoverflow.com/a/38643838
|
|
15
|
+def vcode = (int)(((new Date().getTime()/1000) - 1546297200) / 10)
|
11
|
16
|
|
12
|
17
|
android {
|
13
|
18
|
compileSdkVersion rootProject.ext.compileSdkVersion
|
|
@@ -15,7 +20,7 @@ android {
|
15
|
20
|
|
16
|
21
|
defaultConfig {
|
17
|
22
|
applicationId 'org.jitsi.meet'
|
18
|
|
- versionCode Integer.parseInt(project.buildNumber)
|
|
23
|
+ versionCode vcode
|
19
|
24
|
versionName project.appVersion
|
20
|
25
|
|
21
|
26
|
minSdkVersion rootProject.ext.minSdkVersion
|