react-native-navigation的迁移库

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. apply plugin: "com.android.application"
  2. project.ext.react = [
  3. root : "../../../",
  4. entryFile: "playground/index.android.js"
  5. ]
  6. apply from: "../../../node_modules/react-native/react.gradle"
  7. android {
  8. compileSdkVersion 25
  9. buildToolsVersion "27.0.1"
  10. compileOptions {
  11. sourceCompatibility JavaVersion.VERSION_1_8
  12. targetCompatibility JavaVersion.VERSION_1_8
  13. }
  14. defaultConfig {
  15. applicationId "com.reactnativenavigation.playground"
  16. minSdkVersion 19
  17. targetSdkVersion 25
  18. versionCode 1
  19. versionName "1.0"
  20. ndk {
  21. abiFilters "armeabi-v7a", "x86"
  22. }
  23. }
  24. signingConfigs {
  25. release {
  26. storeFile file('../playground.keystore')
  27. storePassword "playground"
  28. keyAlias "playground"
  29. keyPassword "playground"
  30. }
  31. }
  32. buildTypes {
  33. release {
  34. signingConfig signingConfigs.release
  35. }
  36. }
  37. }
  38. dependencies {
  39. implementation fileTree(dir: 'libs', include: ['*.jar'])
  40. implementation 'com.facebook.react:react-native:+'
  41. implementation 'com.android.support:design:25.4.0'
  42. implementation "com.android.support:appcompat-v7:25.4.0"
  43. implementation project(':react-native-navigation')
  44. }