Adds android version variable.
The variables in gradle.properties can be overridden on command line like: -Pversion=1.
This commit is contained in:
parent
4720088039
commit
e5dc7058c1
|
@ -101,8 +101,8 @@ android {
|
||||||
applicationId 'org.jitsi.jitsi_meet_react'
|
applicationId 'org.jitsi.jitsi_meet_react'
|
||||||
minSdkVersion 16
|
minSdkVersion 16
|
||||||
targetSdkVersion 22
|
targetSdkVersion 22
|
||||||
versionCode 1
|
versionCode Integer.parseInt("${version}")
|
||||||
versionName '1.0'
|
versionName "1.0.${version}"
|
||||||
ndk {
|
ndk {
|
||||||
abiFilters 'armeabi-v7a', 'x86'
|
abiFilters 'armeabi-v7a', 'x86'
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,3 +18,4 @@
|
||||||
# org.gradle.parallel=true
|
# org.gradle.parallel=true
|
||||||
|
|
||||||
android.useDeprecatedNdk=true
|
android.useDeprecatedNdk=true
|
||||||
|
version=1
|
Loading…
Reference in New Issue