react-native-navigation的迁移库

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. apply plugin: 'com.android.library'
  2. android {
  3. compileSdkVersion 23
  4. buildToolsVersion "23.0.1"
  5. defaultConfig {
  6. minSdkVersion 16
  7. targetSdkVersion 22
  8. versionCode 1
  9. versionName "1.0"
  10. }
  11. defaultPublishConfig 'release'
  12. publishNonDefault true
  13. productFlavors {
  14. library {
  15. }
  16. }
  17. buildTypes {
  18. release {
  19. minifyEnabled false
  20. }
  21. debug {
  22. minifyEnabled false
  23. }
  24. }
  25. }
  26. repositories {
  27. maven {
  28. // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
  29. url '../../../react-native/android'
  30. }
  31. }
  32. dependencies {
  33. compile fileTree(dir: "libs", include: ["*.jar"])
  34. compile "com.aurelhubert:ahbottomnavigation:1.2.3"
  35. compile "com.android.support:appcompat-v7:23.0.1"
  36. compile 'com.android.support:design:23.1.1'
  37. compile "com.facebook.react:react-native:+" // From node_modules
  38. }