Nessuna descrizione

settings.gradle 1.1KB

1234567891011121314151617
  1. rootProject.name = 'Test'
  2. apply from: new File(["node", "--print", "require.resolve('expo/package.json')"].execute(null, rootDir).text.trim(), "../scripts/autolinking.gradle");
  3. useExpoModules()
  4. apply from: new File(["node", "--print", "require.resolve('@react-native-community/cli-platform-android/package.json')"].execute(null, rootDir).text.trim(), "../native_modules.gradle");
  5. applyNativeModulesSettingsGradle(settings)
  6. include ':app'
  7. includeBuild(new File(["node", "--print", "require.resolve('react-native-gradle-plugin/package.json')"].execute(null, rootDir).text.trim()).getParentFile())
  8. if (settings.hasProperty("newArchEnabled") && settings.newArchEnabled == "true") {
  9. include(":ReactAndroid")
  10. project(":ReactAndroid").projectDir = new File(["node", "--print", "require.resolve('react-native/package.json')"].execute(null, rootDir).text.trim(), "../ReactAndroid");
  11. include(":ReactAndroid:hermes-engine")
  12. project(":ReactAndroid:hermes-engine").projectDir = new File(["node", "--print", "require.resolve('react-native/package.json')"].execute(null, rootDir).text.trim(), "../ReactAndroid/hermes-engine");
  13. }