mirror of
https://github.com/status-im/status-react.git
synced 2025-01-10 11:06:25 +00:00
Jakub Sokołowski
acfa73ab43
This has several benefits: * Less abuse of `extra-sandbox-paths` Nix option * Less inputs to the Android release build derivation * Easier for users to sign the build themselves * Simplification of `scripts/release-android.sh` * Preparation for building using Nix Flakes The only two remaining credentials passed via `extra-sandbox-paths` is the Infura and OpenSea API keys, and there is no way around that other than passing them via Nix arguments, but that would cause them to end up in `/nix/store` as part of `.drv` files. I'm also renaming `release-fdroid` to `build-fdroid` to be consistent. Depends on: https://github.com/status-im/status-jenkins-lib/pull/42 Signed-off-by: Jakub Sokołowski <jakub@status.im>
21 lines
792 B
Nix
21 lines
792 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
|
|
commit-hash = "unknown"; # Included in APK Manifest for easier identification.
|
|
|
|
android = {
|
|
gradle-opts = null; # Gradle options passed for Android builds
|
|
apk-signed = true; # F-Droid builds aren't signed by us
|
|
abi-split = false; # If APKs should be split based on architectures
|
|
abi-include = "armeabi-v7a;arm64-v8a;x86"; # Android architectures to build for
|
|
};
|
|
|
|
status-go = { src-override = null; };
|
|
};
|
|
|
|
# Android SDK requires an accepted license
|
|
android_sdk.accept_license = true;
|
|
}
|