build.gradle 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2. buildscript {
  3. repositories {
  4. jcenter()
  5. maven {
  6. url 'https://maven.google.com/'
  7. name 'Google'
  8. }
  9. google()
  10. }
  11. dependencies {
  12. classpath 'com.android.tools.build:gradle:3.1.2'
  13. // NOTE: Do not place your application dependencies here; they belong
  14. // in the individual module build.gradle files
  15. }
  16. }
  17. allprojects {
  18. repositories {
  19. mavenLocal()
  20. jcenter()
  21. maven {
  22. // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
  23. url "$rootDir/../node_modules/react-native/android"
  24. }
  25. maven {
  26. url 'https://maven.google.com/'
  27. name 'Google'
  28. }
  29. maven { url "https://jitpack.io" }
  30. }
  31. }
  32. ext {
  33. buildToolsVersion = "26.0.3"
  34. minSdkVersion = 16
  35. compileSdkVersion = 26
  36. targetSdkVersion = 26
  37. supportLibVersion = "26.1.0"
  38. }