rootProject.name = 'RocketChatRN' include ':@react-native-firebase_app' project(':@react-native-firebase_app').projectDir = new File(rootProject.projectDir, '../node_modules/@react-native-firebase/app/android') include ':@react-native-firebase_analytics' project(':@react-native-firebase_analytics').projectDir = new File(rootProject.projectDir, '../node_modules/@react-native-firebase/analytics/android') include ':@react-native-firebase_crashlytics' project(':@react-native-firebase_crashlytics').projectDir = new File(rootProject.projectDir, '../node_modules/@react-native-firebase/crashlytics/android') 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') // includeBuild('../node_modules/react-native') { // dependencySubstitution { // substitute(module("com.facebook.react:react-android")).using(project(":ReactAndroid")) // substitute(module("com.facebook.react:react-native")).using(project(":ReactAndroid")) // substitute(module("com.facebook.react:hermes-android")).using(project(":ReactAndroid:hermes-engine")) // substitute(module("com.facebook.react:hermes-engine")).using(project(":ReactAndroid:hermes-engine")) // } // } apply from: new File(["node", "--print", "require.resolve('expo/package.json')"].execute(null, rootDir).text.trim(), "../scripts/autolinking.gradle") useExpoModules()