react-native-navigation的迁移库

build.gradle 1.1KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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. defaultConfig {
  11. applicationId "com.reactnativenavigation.playground"
  12. minSdkVersion 16
  13. targetSdkVersion 25
  14. versionCode 1
  15. versionName "1.0"
  16. ndk {
  17. abiFilters "armeabi-v7a", "x86"
  18. }
  19. }
  20. signingConfigs {
  21. release {
  22. storeFile file('../playground.keystore')
  23. storePassword "playground"
  24. keyAlias "playground"
  25. keyPassword "playground"
  26. }
  27. }
  28. buildTypes {
  29. release {
  30. signingConfig signingConfigs.release
  31. }
  32. }
  33. }
  34. dependencies {
  35. compile fileTree(dir: 'libs', include: ['*.jar'])
  36. compile 'com.facebook.react:react-native:+'
  37. compile 'com.android.support:design:25.3.1'
  38. compile "com.android.support:appcompat-v7:25.3.1"
  39. compile project(':react-native-navigation')
  40. }