mirror of
https://github.com/status-im/status-react.git
synced 2025-01-10 02:56:07 +00:00
Jakub Sokołowski
f2c96dcd3b
Changes: * Create `nix/config.nix` with `config` defaults * Add `nix/tools/gradlePropParser.nix` for reading `gradle.properties` * Add `nix/mobile/android/keystore.nix` for generating a keystore * Load keystore generation in `nix/mobile/android/default.nix` * Use generated keystore if it's not provided via `config` * Add `-deststoretype pkcs12` in `scripts/generate-keystore.sh` * Add `nix/lib/assertEnvVarSet.nix` for checking if env var is set Signed-off-by: Jakub Sokołowski <jakub@status.im>
23 lines
842 B
Nix
23 lines
842 B
Nix
# Status defaults for config
|
|
{
|
|
status-im = {
|
|
build-type = "pr"; # Build type (influences which .env file gets used for feature flags)
|
|
build-number = 9999; # Used for versionCode and CFBundleVersion in Android and iOS respectively
|
|
|
|
android = {
|
|
gradle-opts = null; # Gradle options passed for Android builds
|
|
keystore-path = null; # Path to keystore for signing the APK
|
|
abi-split = false; # If APKs should be split based on architectures
|
|
abi-include = "armeabi-v7a;arm64-v8a;x86"; # Android architectures to build for
|
|
};
|
|
|
|
nimbus = { src-override = null; };
|
|
status-go = { src-override = null; };
|
|
};
|
|
|
|
# Android SDK requires an accepted license
|
|
android_sdk.accept_license = true;
|
|
# Android Env still needs old OpenSSL
|
|
permittedInsecurePackages = [ "openssl-1.0.2u" ];
|
|
}
|