react-native-navigation的迁移库

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. apply plugin: "com.android.application"
  2. apply from: "../../node_modules/react-native/react.gradle"
  3. android {
  4. compileSdkVersion 25
  5. buildToolsVersion "25.0.2"
  6. defaultConfig {
  7. applicationId "com.reactnativenavigation.playground"
  8. minSdkVersion 16
  9. targetSdkVersion 25
  10. versionCode 1
  11. versionName "1.0"
  12. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  13. }
  14. }
  15. dependencies {
  16. compile fileTree(dir: 'libs', include: ['*.jar'])
  17. compile 'com.facebook.react:react-native:+'
  18. compile 'com.android.support:design:25.1.1'
  19. compile "com.android.support:appcompat-v7:25.1.1"
  20. compile project(':react-native-navigation')
  21. // native e2e
  22. androidTestCompile 'org.assertj:assertj-core:2.5.0'
  23. androidTestCompile 'com.android.support:support-annotations:25.1.1'
  24. androidTestCompile 'com.android.support.test:runner:0.5'
  25. androidTestCompile 'com.android.support.test:rules:0.5'
  26. androidTestCompile 'com.android.support.test.uiautomator:uiautomator-v18:2.1.2'
  27. androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2') {
  28. exclude module: 'jsr305'
  29. }
  30. androidTestCompile('com.android.support.test.espresso:espresso-intents:2.2.2') {
  31. exclude module: 'jsr305'
  32. }
  33. androidTestCompile('com.android.support.test.espresso:espresso-contrib:2.2.2') {
  34. exclude module: 'support-annotations'
  35. exclude module: 'support-v4'
  36. exclude module: 'support-v13'
  37. exclude module: 'recyclerview-v7'
  38. exclude module: 'design'
  39. exclude module: 'jsr305'
  40. }
  41. }