暂无描述

build.gradle 663B

12345678910111213141516171819202122232425262728
  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.3.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. maven { url "$rootDir/../node_modules/react-native/android" }
  16. // ADD THIS
  17. maven { url 'https://maven.google.com' }
  18. jcenter()
  19. // ADD THIS
  20. maven { url "https://jitpack.io" }
  21. //
  22. }
  23. }