From dae13b16bb79fc20e7173dbfbfc37b667ed9eb7f Mon Sep 17 00:00:00 2001 From: Marvin W Date: Mon, 14 Mar 2016 19:40:09 +0100 Subject: [PATCH] Fix versioning Fixes 2e88572 --- play-services-core/build.gradle | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/play-services-core/build.gradle b/play-services-core/build.gradle index 36ac38b7..3b2ea9b8 100644 --- a/play-services-core/build.gradle +++ b/play-services-core/build.gradle @@ -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"