build.gradle 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. apply plugin: 'com.android.application'
  2. android {
  3. compileSdkVersion 26
  4. buildToolsVersion "26.0.2"
  5. defaultConfig {
  6. applicationId "com.jiuyan.sheep_children"
  7. minSdkVersion 21
  8. targetSdkVersion 26
  9. versionCode 1
  10. versionName "1.0"
  11. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  12. }
  13. buildTypes {
  14. release {
  15. minifyEnabled false
  16. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  17. }
  18. }
  19. }
  20. dependencies {
  21. /* compile fileTree(dir: 'libs', include: ['*.jar'])
  22. androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
  23. exclude group: 'com.android.support', module: 'support-annotations'
  24. })*/
  25. compile 'com.android.support.constraint:constraint-layout:1.0.2'
  26. compile 'com.didi.virtualapk:core:0.9.1'
  27. testCompile 'junit:junit:4.12'
  28. compile 'com.shark:screencapture:1.0.0'
  29. compile 'com.google.code.gson:gson:2.7'
  30. compile 'com.jcodecraeer:xrecyclerview:1.5.2'
  31. compile 'com.github.bumptech.glide:glide:3.7.0'
  32. compile 'com.squareup.okhttp3:okhttp:3.9.1'
  33. compile 'org.greenrobot:eventbus:3.1.1'
  34. debugCompile 'com.readystatesoftware.chuck:library:1.1.0'
  35. releaseCompile 'com.readystatesoftware.chuck:library-no-op:1.1.0'
  36. }
  37. apply plugin: 'com.didi.virtualapk.plugin'
  38. virtualApk {
  39. packageId = 0x6f // the package id of Resources.
  40. targetHost = '../../VirtualAPK/app' // the path of application module in host project.
  41. applyHostMapping = true //optional, default value: true.
  42. }