暂无描述

build.gradle 1.2KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2. dependencies {
  3. classpath 'com.android.tools.build:gradle:1.3.1'
  4. classpath 'de.undercouch:gradle-download-task:3.1.2'
  5. // NOTE: Do not place your application dependencies here; they belong
  6. // in the individual module build.gradle files
  7. }
  8. buildscript {
  9. repositories {
  10. jcenter()
  11. maven {
  12. url 'https://maven.google.com/'
  13. name 'Google'
  14. }
  15. }
  16. dependencies {
  17. classpath 'com.android.tools.build:gradle:2.3.3'
  18. // NOTE: Do not place your application dependencies here; they belong
  19. // in the individual module build.gradle files
  20. }
  21. }
  22. allprojects {
  23. repositories {
  24. mavenLocal()
  25. jcenter()
  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. url 'https://maven.google.com/'
  32. name 'Google'
  33. }
  34. }
  35. }
  36. ext {
  37. buildToolsVersion = "26.0.3"
  38. minSdkVersion = 16
  39. compileSdkVersion = 26
  40. targetSdkVersion = 26
  41. supportLibVersion = "26.1.0"
  42. }