build.gradle 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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. maven { //react-native-syan-image-picker
  14. url 'https://maven.google.com/'
  15. name 'Google'
  16. }
  17. maven { url 'https://dl.bintray.com/umsdk/release' }
  18. }
  19. dependencies {
  20. classpath("com.android.tools.build:gradle:3.4.2")
  21. // NOTE: Do not place your application dependencies here; they belong
  22. // in the individual module build.gradle files
  23. }
  24. }
  25. allprojects {
  26. repositories {
  27. flatDir {
  28. dirs 'libs'
  29. }
  30. mavenLocal()
  31. maven {
  32. // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
  33. url("$rootDir/../node_modules/react-native/android")
  34. }
  35. maven {
  36. // Android JSC is installed from npm
  37. url("$rootDir/../node_modules/jsc-android/dist")
  38. }
  39. google()
  40. jcenter()
  41. maven { url 'https://jitpack.io' }
  42. maven { url "http://dl.bintray.com/lukaville/maven" }
  43. maven { url 'https://dl.bintray.com/umsdk/release' }
  44. }
  45. }