浏览代码

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.
j8
Saúl Ibarra Corretgé 6 年前
父节点
当前提交
b15533d75f
共有 3 个文件被更改,包括 6 次插入4 次删除
  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 查看文件

@@ -6,8 +6,8 @@ android {
6 6
 
7 7
     defaultConfig {
8 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 12
         minSdkVersion rootProject.ext.minSdkVersion
13 13
         targetSdkVersion rootProject.ext.targetSdkVersion

+ 3
- 1
android/gradle.properties 查看文件

@@ -17,4 +17,6 @@
17 17
 # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
18 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 查看文件

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

正在加载...
取消
保存