build.gradle 1.2 KB

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 = 19
  6. compileSdkVersion = 28
  7. targetSdkVersion = 28
  8. androidXCore = "1.0.2"
  9. }
  10. repositories {
  11. google()
  12. jcenter()
  13. }
  14. dependencies {
  15. classpath("com.android.tools.build:gradle:3.4.2")
  16. // NOTE: Do not place your application dependencies here; they belong
  17. // in the individual module build.gradle files
  18. }
  19. }
  20. allprojects {
  21. repositories {
  22. flatDir {
  23. dirs 'libs'
  24. }
  25. mavenLocal()
  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. maven {
  31. // Android JSC is installed from npm
  32. url("$rootDir/../node_modules/jsc-android/dist")
  33. }
  34. google()
  35. jcenter()
  36. maven { url 'https://jitpack.io' }
  37. maven { url "http://dl.bintray.com/lukaville/maven" }
  38. maven { url 'https://dl.bintray.com/umsdk/release' }
  39. }
  40. }