react-native-navigation的迁移库

build.gradle 938B

123456789101112131415161718192021222324252627282930313233
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2. buildscript {
  3. repositories {
  4. google()
  5. mavenLocal()
  6. mavenCentral()
  7. jcenter()
  8. }
  9. dependencies {
  10. classpath 'com.android.tools.build:gradle:3.2.1'
  11. // NOTE: Do not place your application dependencies here; they belong
  12. // in the individual module build.gradle files
  13. }
  14. }
  15. allprojects {
  16. repositories {
  17. mavenLocal()
  18. mavenCentral()
  19. google()
  20. jcenter()
  21. maven {
  22. // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
  23. url "$rootDir/../../node_modules/react-native/android"
  24. }
  25. maven { url 'https://jitpack.io' }
  26. maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
  27. maven { url "$rootDir/../../node_modules/jsc-android/dist" }
  28. }
  29. }