Browse Source

android: update app / sdk version

Set them to the next release versions. In additon, the buildNumber variable will
be used to match the requirements of versionCode:
https://developer.android.com/studio/publish/versioning

that is, a monotonically increasing number, independent of the app / sdk
version.
master
Saúl Ibarra Corretgé 7 years ago
parent
commit
b15533d75f
3 changed files with 6 additions and 4 deletions
  1. 2
    2
      android/app/build.gradle
  2. 3
    1
      android/gradle.properties
  3. 1
    1
      android/sdk/build.gradle

+ 2
- 2
android/app/build.gradle View File

6
 
6
 
7
     defaultConfig {
7
     defaultConfig {
8
         applicationId 'org.jitsi.meet'
8
         applicationId 'org.jitsi.meet'
9
-        versionCode Integer.parseInt("${version}")
10
-        versionName "1.9.${version}"
9
+        versionCode Integer.parseInt(project.buildNumber)
10
+        versionName project.appVersion
11
 
11
 
12
         minSdkVersion rootProject.ext.minSdkVersion
12
         minSdkVersion rootProject.ext.minSdkVersion
13
         targetSdkVersion rootProject.ext.targetSdkVersion
13
         targetSdkVersion rootProject.ext.targetSdkVersion

+ 3
- 1
android/gradle.properties View File

17
 # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
17
 # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
18
 # org.gradle.parallel=true
18
 # org.gradle.parallel=true
19
 
19
 
20
-version=1
20
+buildNumber=2
21
+appVersion=1.21.0
22
+sdkVersion=1.21.0

+ 1
- 1
android/sdk/build.gradle View File

162
         aarArchive(MavenPublication) {
162
         aarArchive(MavenPublication) {
163
             groupId 'org.jitsi.react'
163
             groupId 'org.jitsi.react'
164
             artifactId 'jitsi-meet-sdk'
164
             artifactId 'jitsi-meet-sdk'
165
-            version '1.9.0'
165
+            version project.sdkVersion
166
 
166
 
167
             artifact("${project.buildDir}/outputs/aar/${project.name}-release.aar") {
167
             artifact("${project.buildDir}/outputs/aar/${project.name}-release.aar") {
168
                 extension "aar"
168
                 extension "aar"

Loading…
Cancel
Save