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 { defaultConfig {
applicationId 'org.jitsi.meet' applicationId 'org.jitsi.meet'
versionCode Integer.parseInt("${version}") versionCode Integer.parseInt(project.buildNumber)
versionName "1.9.${version}" versionName project.appVersion
minSdkVersion rootProject.ext.minSdkVersion minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion

View File

@ -17,4 +17,6 @@
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true # 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) { aarArchive(MavenPublication) {
groupId 'org.jitsi.react' groupId 'org.jitsi.react'
artifactId 'jitsi-meet-sdk' artifactId 'jitsi-meet-sdk'
version '1.9.0' version project.sdkVersion
artifact("${project.buildDir}/outputs/aar/${project.name}-release.aar") { artifact("${project.buildDir}/outputs/aar/${project.name}-release.aar") {
extension "aar" extension "aar"