react-native-navigation的迁移库

build.gradle 1.0KB

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