No Description

build.gradle 1.0KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2. buildscript {
  3. ext {
  4. buildToolsVersion = "27.0.3"
  5. minSdkVersion = 17
  6. compileSdkVersion = 27
  7. targetSdkVersion = 26
  8. supportLibVersion = "27.1.1"
  9. }
  10. repositories {
  11. google()
  12. jcenter()
  13. }
  14. dependencies {
  15. classpath 'com.android.tools.build:gradle:3.1.4'
  16. // compile project(':react-native-splash-screen')
  17. // NOTE: Do not place your application dependencies here; they belong
  18. // in the individual module build.gradle files
  19. }
  20. }
  21. allprojects {
  22. repositories {
  23. google()
  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. }
  31. }
  32. task wrapper(type: Wrapper) {
  33. gradleVersion = '4.4'
  34. distributionUrl = distributionUrl.replace("bin", "all")
  35. }