diff --git a/android/build.gradle b/android/build.gradle index a51be46c7..44b5ad360 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -21,11 +21,11 @@ buildscript { mavenCentral() } dependencies { - classpath("com.android.tools.build:gradle:8.6.0") + classpath("com.android.tools.build:gradle") + classpath("com.facebook.react:react-native-gradle-plugin") + classpath("org.jetbrains.kotlin:kotlin-gradle-plugin") classpath("com.bugsnag:bugsnag-android-gradle-plugin:5.+") classpath 'com.google.gms:google-services:4.4.2' // Google Services plugin - classpath("com.facebook.react:react-native-gradle-plugin") - classpath("org.jetbrains.kotlin:kotlin-gradle-plugin") } } diff --git a/android/settings.gradle b/android/settings.gradle index 1a8f24aac..8b259c48b 100644 --- a/android/settings.gradle +++ b/android/settings.gradle @@ -1,5 +1,7 @@ rootProject.name = 'BlueWallet' apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings) include ':app' +includeBuild('../node_modules/@react-native/gradle-plugin') include ':detox' -project(':detox').projectDir = new File(rootProject.projectDir, '../node_modules/detox/android/detox') \ No newline at end of file +project(':detox').projectDir = new File(rootProject.projectDir, '../node_modules/detox/android/detox') + diff --git a/package-lock.json b/package-lock.json index d76d1cf70..d30d79f88 100644 --- a/package-lock.json +++ b/package-lock.json @@ -20,6 +20,7 @@ "@react-native-clipboard/clipboard": "1.14.1", "@react-native-community/push-notification-ios": "1.11.0", "@react-native-menu/menu": "1.1.2", + "@react-native/gradle-plugin": "^0.74.85", "@react-native/metro-config": "0.74.84", "@react-navigation/drawer": "6.7.2", "@react-navigation/native": "6.1.18", @@ -5625,6 +5626,14 @@ "node": ">=18" } }, + "node_modules/@react-native/gradle-plugin": { + "version": "0.74.85", + "resolved": "https://registry.npmjs.org/@react-native/gradle-plugin/-/gradle-plugin-0.74.85.tgz", + "integrity": "sha512-1VQSLukJzaVMn1MYcs8Weo1nUW8xCas2XU1KuoV7OJPk6xPnEBFJmapmEGP5mWeEy7kcTXJmddEgy1wwW0tcig==", + "engines": { + "node": ">=18" + } + }, "node_modules/@react-native/js-polyfills": { "version": "0.74.85", "resolved": "https://registry.npmjs.org/@react-native/js-polyfills/-/js-polyfills-0.74.85.tgz", @@ -19673,14 +19682,6 @@ "node": ">= 10.14.2" } }, - "node_modules/react-native/node_modules/@react-native/gradle-plugin": { - "version": "0.74.85", - "resolved": "https://registry.npmjs.org/@react-native/gradle-plugin/-/gradle-plugin-0.74.85.tgz", - "integrity": "sha512-1VQSLukJzaVMn1MYcs8Weo1nUW8xCas2XU1KuoV7OJPk6xPnEBFJmapmEGP5mWeEy7kcTXJmddEgy1wwW0tcig==", - "engines": { - "node": ">=18" - } - }, "node_modules/react-native/node_modules/@types/yargs": { "version": "15.0.19", "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-15.0.19.tgz", diff --git a/package.json b/package.json index 1abc35594..cb7a4b6f6 100644 --- a/package.json +++ b/package.json @@ -85,6 +85,7 @@ "@react-native-clipboard/clipboard": "1.14.1", "@react-native-community/push-notification-ios": "1.11.0", "@react-native-menu/menu": "1.1.2", + "@react-native/gradle-plugin": "^0.74.85", "@react-native/metro-config": "0.74.84", "@react-navigation/drawer": "6.7.2", "@react-navigation/native": "6.1.18", @@ -154,12 +155,12 @@ "react-native-quick-actions": "0.3.13", "react-native-randombytes": "3.6.1", "react-native-rate": "1.2.12", - "react-native-share": "10.2.1", - "react-native-svg": "15.3.0", "react-native-reanimated": "3.14.0", "react-native-safe-area-context": "4.10.8", "react-native-screens": "3.32.0", "react-native-secure-key-store": "https://github.com/BlueWallet/react-native-secure-key-store#2076b48", + "react-native-share": "10.2.1", + "react-native-svg": "15.3.0", "react-native-tcp-socket": "6.2.0", "react-native-vector-icons": "10.1.0", "react-native-watch-connectivity": "1.1.0",