2022-12-12 18:50:50 +00:00
|
|
|
rootProject.name = 'example'
|
|
|
|
|
|
|
|
apply from: new File(["node", "--print", "require.resolve('expo/package.json')"].execute(null, rootDir).text.trim(), "../scripts/autolinking.gradle");
|
|
|
|
useExpoModules()
|
|
|
|
|
|
|
|
apply from: new File(["node", "--print", "require.resolve('@react-native-community/cli-platform-android/package.json')"].execute(null, rootDir).text.trim(), "../native_modules.gradle");
|
|
|
|
applyNativeModulesSettingsGradle(settings)
|
|
|
|
|
2022-05-10 23:42:15 +00:00
|
|
|
include ':app'
|
2022-12-12 18:50:50 +00:00
|
|
|
includeBuild(new File(["node", "--print", "require.resolve('react-native-gradle-plugin/package.json')"].execute(null, rootDir).text.trim()).getParentFile())
|
2022-05-10 23:42:15 +00:00
|
|
|
|
2022-08-29 15:32:20 +00:00
|
|
|
if (settings.hasProperty("newArchEnabled") && settings.newArchEnabled == "true") {
|
2022-12-12 18:50:50 +00:00
|
|
|
include(":ReactAndroid")
|
|
|
|
project(":ReactAndroid").projectDir = new File(["node", "--print", "require.resolve('react-native/package.json')"].execute(null, rootDir).text.trim(), "../ReactAndroid");
|
|
|
|
include(":ReactAndroid:hermes-engine")
|
|
|
|
project(":ReactAndroid:hermes-engine").projectDir = new File(["node", "--print", "require.resolve('react-native/package.json')"].execute(null, rootDir).text.trim(), "../ReactAndroid/hermes-engine");
|
2022-08-29 15:32:20 +00:00
|
|
|
}
|
2023-01-23 17:28:17 +00:00
|
|
|
|
|
|
|
include ':gowaku'
|
|
|
|
project(':gowaku').projectDir = new File(rootProject.projectDir, './../node_modules/@waku/react-native/android/gowaku')
|