Sin descripción

build.gradle 729B

1234567891011121314151617181920212223242526272829303132333435363738
  1. buildscript {
  2. repositories {
  3. jcenter()
  4. }
  5. dependencies {
  6. classpath 'com.android.tools.build:gradle:2.1.3'
  7. }
  8. }
  9. apply plugin: 'com.android.library'
  10. android {
  11. compileSdkVersion 23
  12. buildToolsVersion "23.0.1"
  13. defaultConfig {
  14. minSdkVersion 16
  15. targetSdkVersion 22
  16. versionCode 1
  17. versionName "1.0"
  18. }
  19. lintOptions {
  20. abortOnError false
  21. }
  22. }
  23. repositories {
  24. mavenCentral()
  25. maven {
  26. // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
  27. url "$projectDir/../../../node_modules/react-native/android"
  28. }
  29. }
  30. dependencies {
  31. compile "com.facebook.react:react-native:+" // From node_modules
  32. }