build.gradle 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. }
  10. dependencies {
  11. classpath 'com.android.tools.build:gradle:2.3.3'
  12. // NOTE: Do not place your application dependencies here; they belong
  13. // in the individual module build.gradle files
  14. }
  15. }
  16. allprojects {
  17. repositories {
  18. mavenLocal()
  19. jcenter()
  20. maven {
  21. // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
  22. url "$rootDir/../node_modules/react-native/android"
  23. }
  24. maven {
  25. url 'https://maven.google.com/'
  26. name 'Google'
  27. }
  28. maven { url "https://jitpack.io" }
  29. }
  30. }
  31. ext {
  32. buildToolsVersion = "26.0.3"
  33. minSdkVersion = 16
  34. compileSdkVersion = 26
  35. targetSdkVersion = 26
  36. supportLibVersion = "26.1.0"
  37. }