react-native-navigation的迁移库

build.gradle 763B

12345678910111213141516171819202122232425262728293031323334353637
  1. apply plugin: 'com.android.library'
  2. apply from: "react.gradle"
  3. android {
  4. compileSdkVersion 23
  5. buildToolsVersion "23.0.1"
  6. defaultConfig {
  7. minSdkVersion 16
  8. targetSdkVersion 22
  9. versionCode 1
  10. versionName "1.0"
  11. }
  12. defaultPublishConfig 'release'
  13. publishNonDefault true
  14. productFlavors {
  15. library {
  16. }
  17. }
  18. buildTypes {
  19. release {
  20. minifyEnabled false
  21. }
  22. debug {
  23. minifyEnabled false
  24. }
  25. }
  26. }
  27. dependencies {
  28. compile fileTree(dir: "libs", include: ["*.jar"])
  29. compile "com.android.support:appcompat-v7:23.0.1"
  30. compile 'com.android.support:design:23.1.1'
  31. compile "com.facebook.react:react-native:+" // From node_modules
  32. }