react-native-navigation的迁移库

build.gradle 1.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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.espresso:espresso-core:2.2.2') {
  26. exclude module: 'jsr305'
  27. }
  28. androidTestCompile('com.android.support.test.espresso:espresso-contrib:2.2.2') {
  29. exclude module: 'support-annotations'
  30. exclude module: 'support-v4'
  31. exclude module: 'support-v13'
  32. exclude module: 'recyclerview-v7'
  33. exclude module: 'design'
  34. exclude module: 'jsr305'
  35. }
  36. }