1
0
mirror of https://github.com/tooot-app/app synced 2024-12-24 00:21:35 +01:00
tooot/android/settings.gradle

18 lines
845 B
Groovy
Raw Normal View History

2021-01-28 00:41:53 +01:00
rootProject.name = 'tooot'
2021-10-24 00:43:00 +02:00
apply from: new File(["node", "--print", "require.resolve('expo/package.json')"].execute().text.trim(), "../scripts/autolinking.gradle");
useExpoModules()
2021-01-28 00:41:53 +01:00
2021-10-24 00:43:00 +02:00
apply from: new File(["node", "--print", "require.resolve('@react-native-community/cli-platform-android/package.json')"].execute().text.trim(), "../native_modules.gradle");
2021-01-28 00:41:53 +01:00
applyNativeModulesSettingsGradle(settings)
include ':app'
2022-05-08 22:35:43 +02:00
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')
2022-08-08 22:32:51 +02:00
include(":ReactAndroid:hermes-engine")
project(":ReactAndroid:hermes-engine").projectDir = file('../node_modules/react-native/ReactAndroid/hermes-engine')
2022-05-08 22:35:43 +02:00
}