[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [orbot/master] Remove unused build code for version overrides



commit 11a593875cca50d8ad72882b1e3d8305f7b1ddb0
Author: sisbell <shane.isbell@xxxxxxxxx>
Date:   Sun Aug 1 12:23:53 2021 -0700

    Remove unused build code for version overrides
---
 app-mini/build.gradle | 12 ------------
 app-tv/build.gradle   | 14 +-------------
 app/build.gradle      | 12 ------------
 3 files changed, 1 insertion(+), 37 deletions(-)

diff --git a/app-mini/build.gradle b/app-mini/build.gradle
index 79f99df1..22067c39 100644
--- a/app-mini/build.gradle
+++ b/app-mini/build.gradle
@@ -44,15 +44,3 @@ dependencies {
     )
     androidTestImplementation "tools.fastlane:screengrab:1.2.0"
 }
-
-// For each APK output variant, override version code of outputs based on ABI codes
-// ex) 'mips' -> 3xxx
-// ex) 'x86' -> 4xxx
-android.applicationVariants.all { variant ->
-    variant.outputs.each { output ->
-        def baseVersionCode = project.ext.abiCodes.get(output.getFilter(com.android.build.OutputFile.ABI))
-        if (baseVersionCode != null) {
-            output.versionCodeOverride = Integer.valueOf(baseVersionCode + variant.versionCode)
-        }
-    }
-}
diff --git a/app-tv/build.gradle b/app-tv/build.gradle
index d840ed4e..36baec67 100644
--- a/app-tv/build.gradle
+++ b/app-tv/build.gradle
@@ -53,16 +53,4 @@ dependencies {
     )
     androidTestImplementation "tools.fastlane:screengrab:1.2.0"
 
-}
-
-// For each APK output variant, override version code of outputs based on ABI codes
-// ex) 'mips' -> 3xxx
-// ex) 'x86' -> 4xxx
-android.applicationVariants.all { variant ->
-    variant.outputs.each { output ->
-        def baseVersionCode = project.ext.abiCodes.get(output.getFilter(com.android.build.OutputFile.ABI))
-        if (baseVersionCode != null) {
-            output.versionCodeOverride = Integer.valueOf(baseVersionCode + variant.versionCode)
-        }
-    }
-}
+}
\ No newline at end of file
diff --git a/app/build.gradle b/app/build.gradle
index a13b7228..bacc32fe 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -51,16 +51,4 @@ dependencies {
             'pl.bclogic:pulsator4droid:1.0.3'
     )
     androidTestImplementation "tools.fastlane:screengrab:1.2.0"
-}
-
-// For each APK output variant, override version code of outputs based on ABI codes
-// ex) 'mips' -> 3xxx
-// ex) 'x86' -> 4xxx
-android.applicationVariants.all { variant ->
-    variant.outputs.each { output ->
-        def baseVersionCode = project.ext.abiCodes.get(output.getFilter(com.android.build.OutputFile.ABI))
-        if (baseVersionCode != null) {
-            output.versionCodeOverride = Integer.valueOf(variant.versionCode) + Integer.valueOf(baseVersionCode)
-        }
-    }
 }
\ No newline at end of file



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits