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.
This commit is contained in:
Saúl Ibarra Corretgé 2018-11-30 17:08:48 +01:00 committed by Zoltan Bettenbuk
parent cf9a65f475
commit b15533d75f
3 changed files with 6 additions and 4 deletions

View File

@ -6,8 +6,8 @@ android {
defaultConfig {
applicationId 'org.jitsi.meet'
versionCode Integer.parseInt("${version}")
versionName "1.9.${version}"
versionCode Integer.parseInt(project.buildNumber)
versionName project.appVersion
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion

View File

@ -17,4 +17,6 @@
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true
version=1
buildNumber=2
appVersion=1.21.0
sdkVersion=1.21.0

View File

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