react-native-navigation的迁移库

build.gradle 1.1KB

12345678910111213141516171819202122232425262728293031323334353637
  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.2'
  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. google()
  22. jcenter()
  23. maven {
  24. // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
  25. url "$rootDir/../../node_modules/react-native/android"
  26. }
  27. maven { url 'https://jitpack.io' }
  28. maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
  29. maven { url "$rootDir/../../node_modules/jsc-android/dist" }
  30. maven { url "$rootDir/../../node_modules/detox/Detox-android" }
  31. }
  32. }