[tor-commits] [orbot/master] updating base versionCode to 1620200100 and changing how arch increments happen

n8fr8 at torproject.org n8fr8 at torproject.org
Mon Aug 24 21:02:51 UTC 2020


commit b5e2c7b0f24608f3caab97b6f7c570fcd455afdc
Author: n8fr8 <nathan at guardianproject.info>
Date:   Sat May 30 05:56:16 2020 -0400

    updating base versionCode to 1620200100 and changing how arch increments happen
---
 app/build.gradle | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/app/build.gradle b/app/build.gradle
index 5240f8a3..faa6df5b 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -73,7 +73,7 @@ android {
             minSdkVersion 16
             applicationId 'org.torproject.android'
             targetSdkVersion 29
-            versionCode 16202001
+            versionCode 1620200100
             versionName getVersionName()
             archivesBaseName = "Orbot-$versionName"
         }
@@ -83,7 +83,7 @@ android {
             minSdkVersion 16
             applicationId 'org.torproject.android.max'
             targetSdkVersion 28
-            versionCode 16141000
+            versionCode 161410000
             versionName getVersionName()
             archivesBaseName = "orbotMAX-$versionName"
         }**/
@@ -138,7 +138,7 @@ android.applicationVariants.all { variant ->
     variant.outputs.each { output ->
         def baseVersionCode = project.ext.abiCodes.get(output.getFilter(OutputFile.ABI))
         if (baseVersionCode != null) {
-            output.versionCodeOverride = Integer.valueOf(baseVersionCode + variant.versionCode)
+            output.versionCodeOverride = Integer.valueOf(variant.versionCode) + Integer.valueOf(baseVersionCode)
         }
     }
 }





More information about the tor-commits mailing list