build.gradle 985 B

12345678910111213141516171819202122232425262728293031323334353637383940
  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. }
  29. }
  30. ext {
  31. buildToolsVersion = "26.0.3"
  32. minSdkVersion = 16
  33. compileSdkVersion = 26
  34. targetSdkVersion = 26
  35. supportLibVersion = "26.1.0"
  36. }