react-native-navigation的迁移库

build.gradle 1.1KB

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