settings.gradle 768 B

12345678910111213
  1. rootProject.name = 'cnp-mobile'
  2. include ':react-native-view-shot'
  3. project(':react-native-view-shot').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-view-shot/android')
  4. include ':react-native-config'
  5. project(':react-native-config').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-config/android')
  6. apply from: new File(["node", "--print", "require.resolve('expo/package.json')"].execute(null, rootDir).text.trim(), "../scripts/autolinking.gradle");
  7. useExpoModules()
  8. apply from: new File(["node", "--print", "require.resolve('@react-native-community/cli-platform-android/package.json')"].execute(null, rootDir).text.trim(), "../native_modules.gradle");
  9. applyNativeModulesSettingsGradle(settings)
  10. include ':app'