From 6632547d1e69b865e144f8ad7f9770a5b0e12110 Mon Sep 17 00:00:00 2001 From: m2049r Date: Mon, 19 Oct 2020 23:44:40 +0200 Subject: [PATCH] bump version & fix versionCode (#694) --- app/build.gradle | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 2b9c1c3..8b3031e 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -7,8 +7,8 @@ android { applicationId "com.m2049r.xmrwallet" minSdkVersion 21 targetSdkVersion 28 - versionCode 502 - versionName "1.15.2 'Dark Fork'" + versionCode 503 + versionName "1.15.3 'Dark Fork'" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" externalNativeBuild { cmake { @@ -92,8 +92,7 @@ android { variant.outputs.all { output -> def abiName = output.getFilter(com.android.build.OutputFile.ABI) - output.versionCodeOverride = abiCodes.get(abiName, 0) + 10 * variant.versionCode - //def flavor = output.getFilter(flavor) + output.versionCodeOverride = abiCodes.get(abiName, 0) + 10 * versionCode if (abiName == null) abiName = "universal" def v = "${variant.versionName}".replaceFirst(" '.*' ?", "")