react-native-navigation的迁移库

build.gradle 1.5KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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 'com.android.support:support-annotations:25.1.1'
  23. androidTestCompile 'com.android.support.test:runner:0.5'
  24. androidTestCompile 'com.android.support.test:rules:0.5'
  25. androidTestCompile 'com.android.support.test.uiautomator:uiautomator-v18:2.1.2'
  26. androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2') {
  27. exclude module: 'jsr305'
  28. }
  29. androidTestCompile('com.android.support.test.espresso:espresso-intents:2.2.2') {
  30. exclude module: 'jsr305'
  31. }
  32. androidTestCompile('com.android.support.test.espresso:espresso-contrib:2.2.2') {
  33. exclude module: 'support-annotations'
  34. exclude module: 'support-v4'
  35. exclude module: 'support-v13'
  36. exclude module: 'recyclerview-v7'
  37. exclude module: 'design'
  38. exclude module: 'jsr305'
  39. }
  40. }