build.gradle 626 B

12345678910111213141516171819202122232425262728293031
  1. apply plugin: 'com.android.library'
  2. android {
  3. compileSdkVersion 23
  4. buildToolsVersion "23.0.1"
  5. defaultConfig {
  6. minSdkVersion 16
  7. targetSdkVersion 23
  8. versionCode 1
  9. versionName "1.0"
  10. }
  11. lintOptions {
  12. abortOnError false
  13. warning 'InvalidPackage'
  14. }
  15. }
  16. repositories {
  17. maven {
  18. // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
  19. url "$rootDir/../node_modules/react-native/android"
  20. }
  21. }
  22. dependencies {
  23. compile fileTree(dir: "libs", include: ["*.jar"])
  24. compile 'com.facebook.react:react-native:+'
  25. }