summaryrefslogtreecommitdiffhomepage
path: root/android
diff options
context:
space:
mode:
Diffstat (limited to 'android')
-rw-r--r--android/flake.nix14
1 files changed, 14 insertions, 0 deletions
diff --git a/android/flake.nix b/android/flake.nix
index 8cf0d4a26a..b48befe941 100644
--- a/android/flake.nix
+++ b/android/flake.nix
@@ -111,6 +111,20 @@
env = import ./nix/env-vars.nix {
inherit pkgs android-sdk buildToolsVersion ndkVersion minSdkVersion;
};
+ # Unfortunately rich menus with package, description and category
+ # is only supported using the TOML format and not when using mkShell.
+ # The two cannot be combined and TOML format by itself doesn't support
+ # the way we dynamically configure the devshell.
+ commands = [
+ {
+ name = "tasks";
+ command = "./gradlew tasks";
+ }
+ {
+ name = "build";
+ command = "./gradlew assembleOssProdDebug";
+ }
+ ];
};
});
}