mirror of
https://github.com/status-im/status-react.git
synced 2025-01-11 11:34:45 +00:00
Jakub Sokołowski
73a8992db7
Changes: - Drop `nix/mobile/android/maven-and-npm-deps/default.nix` - Replace it with much simpler `nix/tools/patchNodeModules` - Move Gradle patching tool to `nix/pkgs/patch-maven-srcs` - Simplify it by using `gradle.deps` and patched node modules separately - Change `TARGET` for `release-android` to `default` - Move `mobile/reset-node_modules.sh` to `scripts/node_modules.sh` - Move `nix/mobile/android/targets/release-android.nix` to `nix/mobile/android/release.nix` Signed-off-by: Jakub Sokołowski <jakub@status.im>
29 lines
741 B
Nix
29 lines
741 B
Nix
#
|
|
# This Nix expression centralizes the configuration
|
|
# for the Android development environment.
|
|
#
|
|
|
|
{ stdenv, config, callPackage, androidenv, openjdk, mkShell }:
|
|
|
|
androidenv.composeAndroidPackages {
|
|
toolsVersion = "26.1.1";
|
|
platformToolsVersion = "29.0.6";
|
|
buildToolsVersions = [ "29.0.2" ];
|
|
includeEmulator = false;
|
|
platformVersions = [ "29" ];
|
|
includeSources = false;
|
|
includeDocs = false;
|
|
includeSystemImages = false;
|
|
systemImageTypes = [ "default" ];
|
|
lldbVersions = [ "3.1.4508709" ];
|
|
cmakeVersions = [ "3.10.2" ];
|
|
includeNDK = true;
|
|
ndkVersion = "21.0.6113669";
|
|
useGoogleAPIs = false;
|
|
useGoogleTVAddOns = false;
|
|
includeExtras = [
|
|
"extras;android;m2repository"
|
|
"extras;google;m2repository"
|
|
];
|
|
}
|