# Project-wide Gradle settings. # IDE (e.g. Android Studio) users: # Gradle settings configured through the IDE *will override* # any settings specified in this file. # For more details on how to configure your build environment visit # http://www.gradle.org/docs/current/userguide/build_environment.html # Specifies the JVM arguments used for the daemon process. # The setting is particularly useful for tweaking memory settings. # Default value: -Xmx10248m -XX:MaxPermSize=256m # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 # When configured, Gradle will run in incubating parallel mode. # This option should only be used with decoupled projects. More details, visit # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects # org.gradle.parallel=true # To create a new keystore for development purposes (https://developer.android.com/studio/publish/app-signing.html) # $keytool -genkey -v -keystore ./status-keystore.jks -keyalg RSA -keysize 2048 -validity 10000 -alias status # Version requirements used throughout the Gradle scripts minSdkVersion=24 compileSdkVersion=34 targetSdkVersion=34 buildToolsVersion=34.0.0 supportLibVersion=28.0.0 # This should match version from nix/pkgs/aapt2/default.nix gradlePluginVersion=7.4.2 kotlinPluginVersion=1.9.0 android.useAndroidX=true android.enableJetifier=true KEYSTORE_PATH=~/.gradle/status-im.keystore KEYSTORE_PASSWORD=password KEYSTORE_ALIAS=status KEYSTORE_KEY_PASSWORD=password # Splitting by CPU Architecture produces smaller APKs. ANDROID_ABI_SPLIT=true # By default its better to only build apk for most recent devices. ANDROID_ABI_INCLUDE=arm64-v8a org.gradle.jvmargs=-Xmx8704M -XX:+UseParallelGC versionCode=9999 commitHash=unknown # Use this property to enable support to the new architecture. # This will allow you to use TurboModules and the Fabric render in # your application. You should enable this flag either if you want # to write custom TurboModules/Fabric components OR use libraries that # are providing them. # enabling new architecture requires hermes to be enabled newArchEnabled=false # Use this property to enable or disable the Hermes JS engine. # If set to false, you will be using JSC instead. # Disabled for debug builds to avoid 'maximum call stack exceeded' errors. # https://github.com/status-im/status-mobile/issues/18493 hermesEnabled=false