No Description

build.gradle 758B

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