diff options
author | cyBerta <cyberta@riseup.net> | 2022-12-16 03:58:38 +0100 |
---|---|---|
committer | cyBerta <cyberta@riseup.net> | 2022-12-16 03:58:38 +0100 |
commit | c49366aa8757b97c249b011eefbe824e52a7d418 (patch) | |
tree | 59f2d050b18c85b9babb0d421226399dc42866b2 /app/build.gradle | |
parent | b4b5d98fe0bc0498773870990df2442f800158c4 (diff) |
remove custom+insecure flavored builds, bitmask (normal+insecure) itself should be sufficient to test a new provider backend without valid certs
Diffstat (limited to 'app/build.gradle')
-rw-r--r-- | app/build.gradle | 3 |
1 files changed, 2 insertions, 1 deletions
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 == "<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"))) || (names.contains("fatweb") && buildTypeName.contains("beta")) || (!supportsSplitApk && !names.contains("fat"))) |