react-native-navigation的迁移库

build.gradle 1.2KB

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