Fix versioning

Fixes 2e88572
This commit is contained in:
Marvin W 2016-03-14 19:40:09 +01:00
parent 7c258109fe
commit dae13b16bb

View File

@ -80,11 +80,8 @@ android {
versionName getMyVersionName()
def x = getMyVersionCode('249c935f')
// We are not allowed to freely choose the hundreds column as it defines the device type
def y = x % 100;
x -= y * 100;
x += y * 1000;
// Update commit id to current when increasing gms version code
versionCode(8490200 + x)
versionCode(8490200 + x % 100 + ((int) (x / 100)) * 1000)
ndk {
abiFilters "armeabi", "armeabi-v7a", "arm64-v8a", "x86"