mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-20 23:56:20 +08:00
The extra digit need to be added to the end of the version code
The version code of default config is generated by the environment variable and the value from AndroidManifest.xml. The test case is using the command line "cordova build -- --versionCode=100".. This closes #211
This commit is contained in:
parent
000eb0916e
commit
0429bb0ab8
@ -184,13 +184,13 @@ android {
|
||||
if (Boolean.valueOf(cdvBuildMultipleApks)) {
|
||||
productFlavors {
|
||||
armv7 {
|
||||
versionCode cdvVersionCode ?: defaultConfig.versionCode + 2
|
||||
versionCode defaultConfig.versionCode + 2
|
||||
ndk {
|
||||
abiFilters "armeabi-v7a", ""
|
||||
}
|
||||
}
|
||||
x86 {
|
||||
versionCode cdvVersionCode ?: defaultConfig.versionCode + 4
|
||||
versionCode defaultConfig.versionCode + 4
|
||||
ndk {
|
||||
abiFilters "x86", ""
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user