Skip to content
Snippets Groups Projects
Commit 39c431fe authored by Jean-Paul Calderone's avatar Jean-Paul Calderone
Browse files

try `isRelease` too, no effect

parent 8684d506
No related branches found
No related tags found
1 merge request!76Support release APKs and bundles
Pipeline #4964 failed
......@@ -32,8 +32,11 @@ let
android.displayName = "Private Storage Mobile";
android.resources = ./frontend/android/res;
android.iconPath = "@mipmap/ic_launcher";
# This definitely works but removes our ability to build apks
# android.gradleTask = "bundleRelease";
# This should work but even if it does, putting the config here removes
# our ability to build apks.
android.gradleTask = "bundleRelease";
android.isRelease = true;
# We use magic-wormhole which depends on saltine which depends on libsodium.
# We have to explicitly mention libsodium here to get it included in the
......@@ -57,18 +60,10 @@ let
};
});
# # Can be written like this...
# ghc = self:
# with optics fn;
# path
# ["haskell" "packages" "ghc883"]
# (super: super.override {
# overrides = hself: hsuper:
# { patat = self.haskell.lib.unmarkBroken hsuper.patat;
# };
# });
inherit (import "${(builtins.fetchTarball https://github.com/masaeedu/nix-optics/archive/028b4e0f721d902aa97bc3535cb3d265bfc53abb.tar.gz)}/utils.nix") optics fn;
inherit
(import "${(builtins.fetchTarball https://github.com/masaeedu/nix-optics/archive/028b4e0f721d902aa97bc3535cb3d265bfc53abb.tar.gz)}/utils.nix")
optics
fn;
makeReleaseBundle =
let
......@@ -81,6 +76,7 @@ let
# "assembleDebug" or "assembleRelease" to build a debug or release apk
# (respectively) or "bundleRelease" to build a release bundle (aab).
gradleTask = "bundleRelease";
isRelease = true;
});
# Change the final installation instructions to work with the aab we
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment