build.gradle 642B

12345678910111213141516171819202122232425
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2. buildscript {
  3. repositories {
  4. jcenter()
  5. }
  6. dependencies {
  7. classpath 'com.android.tools.build:gradle:2.2.3'
  8. // NOTE: Do not place your application dependencies here; they belong
  9. // in the individual module build.gradle files
  10. }
  11. }
  12. allprojects {
  13. repositories {
  14. mavenLocal()
  15. jcenter()
  16. maven {
  17. // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
  18. url "$rootDir/../node_modules/react-native/android"
  19. }
  20. }
  21. }