mirror of
https://github.com/status-im/status-react.git
synced 2025-01-12 12:04:52 +00:00
09bf6673cf
### Summary We need to bump `kotlin` Plugin version to `1.9.0` because the `nixpkgs` upgrade will set default `gradle` version to `8.4`. `gradle` version `8.4` comes with a base `kotlin` version of `1.9.0` which becomes incompatible with our existing version of `1.7` Otherwise we get errors like this : ``` e: /Users/siddarthkumar/code/experiments/status-mobile/node_modules/@react-native/ gradle-plugin/src/main/kotlin/com/facebook/react/utils/TaskUtils.kt: (25, 7): Class 'kotlin.collections.CollectionsKt__CollectionsKt' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1. The class is loaded from /nix/store/3a228ppiiljfvsrxyq15h25chmiwsmbh-gradle-8.4/lib/gradle/lib/ kotlin-stdlib-1.9.10.jar!/kotlin/collections/CollectionsKt__CollectionsKt.class . . . ``` needed for https://github.com/status-im/status-mobile/pull/18321 In this commit we set `kotlinPluginVersion` to `1.9.0` and update `gradle` dependencies. #### Platforms - Android
61 lines
2.2 KiB
Properties
61 lines
2.2 KiB
Properties
# 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=33
|
|
targetSdkVersion=33
|
|
buildToolsVersion=33.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
|
|
|
|
# By default we build a mostly universal APK
|
|
ANDROID_ABI_SPLIT=false
|
|
# Some platforms are excluded though
|
|
ANDROID_ABI_INCLUDE=armeabi-v7a;arm64-v8a;x86;x86_64
|
|
|
|
org.gradle.jvmargs=-Xmx8704M
|
|
|
|
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.
|
|
newArchEnabled=false
|
|
|
|
# Use this property to enable or disable the Hermes JS engine.
|
|
# If set to false, you will be using JSC instead.
|
|
hermesEnabled=true
|