From c49366aa8757b97c249b011eefbe824e52a7d418 Mon Sep 17 00:00:00 2001 From: cyBerta Date: Fri, 16 Dec 2022 03:58:38 +0100 Subject: remove custom+insecure flavored builds, bitmask (normal+insecure) itself should be sufficient to test a new provider backend without valid certs --- app/build.gradle | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'app') diff --git a/app/build.gradle b/app/build.gradle index 6c1bf394..1fa344b8 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -344,7 +344,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 - * customInsecureFatDebug -> branded development build, doesn't checks certificates (for test server setup w/o valid certificates), includes all ABIs * normalInsecureFatDebug -> Bitmask development build, doesn't checks certificates (for test server setup w/o valid certificates), includes all ABIs * * Branded Releases: @@ -377,10 +376,12 @@ android { def buildTypeName = variant.buildType.name // flavorDimensions "branding" -> 0, "implementation" -> 1, "abi" -> 2 def supportsSplitApk = variant.flavors[0].splitApk + def branding = variant.flavors[0].name // To check for a certain build type, use variant.buildType.name == "" 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"))) || (names.contains("fatweb") && buildTypeName.contains("beta")) || (!supportsSplitApk && !names.contains("fat"))) -- cgit v1.2.3