mirror of
https://github.com/inaturalist/iNaturalistReactNative.git
synced 2026-05-05 06:05:12 -04:00
This also upgrades us to React Native 0.70.4 and adds a number of files that get us ready for the New Architecture. Co-authored-by: Ken-ichi Ueda <kenichi.ueda@gmail.com>
22 lines
1.5 KiB
Groovy
22 lines
1.5 KiB
Groovy
rootProject.name = 'iNaturalistReactNative'
|
|
include ':@react-native-camera-roll_camera-roll'
|
|
project(':@react-native-camera-roll_camera-roll').projectDir = new File(rootProject.projectDir, '../node_modules/@react-native-camera-roll/camera-roll/android')
|
|
include ':react-native-exception-handler'
|
|
project(':react-native-exception-handler').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-exception-handler/android')
|
|
include ':react-native-localize'
|
|
project(':react-native-localize').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-localize/android')
|
|
include ':react-native-pure-jwt'
|
|
project(':react-native-pure-jwt').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-pure-jwt/android')
|
|
include ':react-native-config'
|
|
project(':react-native-config').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-config/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')
|
|
|
|
if (settings.hasProperty("newArchEnabled") && settings.newArchEnabled == "true") {
|
|
include(":ReactAndroid")
|
|
project(":ReactAndroid").projectDir = file('../node_modules/react-native/ReactAndroid')
|
|
include(":ReactAndroid:hermes-engine")
|
|
project(":ReactAndroid:hermes-engine").projectDir = file('../node_modules/react-native/ReactAndroid/hermes-engine')
|
|
}
|