react-native-navigation的迁移库

build.gradle 906B

123456789101112131415161718192021222324252627282930313233343536373839404142
  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.android.support:appcompat-v7:23.0.1"
  35. compile 'com.android.support:design:23.1.1'
  36. compile "com.facebook.react:react-native:+" // From node_modules
  37. }