暂无描述

build.gradle 1.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2. buildscript {
  3. ext {
  4. buildToolsVersion = "28.0.3"
  5. minSdkVersion = 18
  6. compileSdkVersion = 28
  7. targetSdkVersion = 28
  8. kotlinVersion = '1.3.10'
  9. }
  10. repositories {
  11. google()
  12. jcenter()
  13. }
  14. dependencies {
  15. classpath("com.android.tools.build:gradle:3.4.2")
  16. classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
  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. mavenLocal()
  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 {
  29. // Android JSC is installed from npm
  30. url("$rootDir/../node_modules/jsc-android/dist")
  31. }
  32. google()
  33. jcenter()
  34. maven {
  35. url 'https://jitpack.io'
  36. // All of Detox' artifacts are provided via the npm module
  37. url "$rootDir/../node_modules/detox/Detox-android"
  38. }
  39. }
  40. }