summaryrefslogtreecommitdiff
path: root/app/build.gradle
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2023-10-31 11:45:22 +0100
committercyBerta <cyberta@riseup.net>2023-10-31 18:53:25 +0100
commit3197444d9da4cf3a22d4c5aaf41da81f36d76bdf (patch)
treeb59dc5d5a92d5509da8d9b4f39e219ee1b0bccf8 /app/build.gradle
parente85e4a2fc7f6351b3f05ad2306241399e029c757 (diff)
remove insecure flavor, it depended on deprecated setup UI
Diffstat (limited to 'app/build.gradle')
-rw-r--r--app/build.gradle10
1 files changed, 1 insertions, 9 deletions
diff --git a/app/build.gradle b/app/build.gradle
index 305292db..4c9f6a25 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -117,9 +117,6 @@ android {
production {
dimension "implementation"
}
- insecure {
- dimension "implementation"
- }
normal {
dimension "branding"
@@ -355,7 +352,6 @@ android {
* normalProductionFatDebug -> Bitmask development build, includes all ABIS
* customProductionFatwebDebug -> branded development build, includes all ABIs, for distribution through a download page
* normalProductionFatWebDebug -> Bitmask development build, includes all ABIS, for distribution through a download page
- * normalInsecureFatDebug -> Bitmask development build, doesn't checks certificates (for test server setup w/o valid certificates), includes all ABIs
*
* Branded Releases:
* -----------------
@@ -389,11 +385,7 @@ android {
def supportsSplitApk = variant.flavors[0].splitApk
def branding = variant.flavors[0].name
// To check for a certain build type, use variant.buildType.name == "<buildType>"
- if (((names.contains("insecure") && !names.contains("fat")) ||
- (names.contains("insecure") && buildTypeName.contains("beta")) ||
- (names.contains("insecure") && buildTypeName.contains("release")) ||
- (names.contains("insecure") && branding.contains("custom")) ||
- (buildTypeName.contains("debug") && !(names.contains("fatweb") || names.contains("fat"))) ||
+ if (((buildTypeName.contains("debug") && !(names.contains("fatweb") || names.contains("fat"))) ||
(names.contains("fatweb") && buildTypeName.contains("beta")) ||
(!supportsSplitApk && !names.contains("fat")))
) {