From dc4a34e80618bbf18b19619d723e8ac399408f0a Mon Sep 17 00:00:00 2001 From: karthiccc23 Date: Mon, 9 Jan 2023 15:39:14 -0800 Subject: [PATCH] Update CI --- android/build.gradle | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/android/build.gradle b/android/build.gradle index 2bef7df1..11f51326 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -13,7 +13,16 @@ buildscript { } } +def REACT_NATIVE_VERSION = new File(['node', '--print',"JSON.parse(require('fs').readFileSync(require.resolve('react-native/package.json'), 'utf-8')).version"].execute(null, rootDir).text.trim()) + allprojects { + configurations.all { + resolutionStrategy { + // Remove this override in 0.65+, as a proper fix is included in react-native itself. + force "com.facebook.react:react-native:" + REACT_NATIVE_VERSION + } + } + repositories { google() maven {