对框架的使用,来自大神傅媛媛

build.gradle 2.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. apply plugin: 'com.android.library'
  2. apply plugin: 'com.jakewharton.butterknife'
  3. android {
  4. compileSdkVersion 25
  5. defaultConfig {
  6. minSdkVersion 19
  7. targetSdkVersion 25
  8. versionCode 1
  9. versionName "1.0"
  10. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  11. }
  12. buildTypes {
  13. release {
  14. minifyEnabled false
  15. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  16. }
  17. }
  18. }
  19. dependencies {
  20. compile fileTree(include: ['*.jar'], dir: 'libs')
  21. compile 'com.android.support:appcompat-v7:25.3.1'
  22. testImplementation 'junit:junit:4.12'
  23. androidTestImplementation 'com.android.support.test:runner:1.0.1'
  24. compile 'com.android.support.constraint:constraint-layout:1.0.2'
  25. compile 'com.android.support:design:25+'
  26. androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
  27. compile project(':laraver-annotations')
  28. //字体图标库
  29. compile 'com.joanzapata.iconify:android-iconify-ionicons:2.2.2' // (v2.0.1)
  30. compile 'com.joanzapata.iconify:android-iconify-fontawesome:2.2.2' // (v4.5)
  31. //Fragment依赖
  32. compile 'me.yokeyword:fragmentation:1.0.3'
  33. compile 'me.yokeyword:fragmentation-swipeback:1.0.3'
  34. //黄油刀
  35. compile 'com.jakewharton:butterknife:8.4.0'
  36. annotationProcessor 'com.jakewharton:butterknife-compiler:8.4.0'
  37. //网络请求依赖
  38. compile 'com.squareup.okio:okio:1.13.0'
  39. compile 'com.squareup.okhttp3:okhttp:3.8.1'
  40. compile 'com.squareup.retrofit2:retrofit:2.3.0'
  41. compile 'com.squareup.retrofit2:converter-scalars:2.3.0'
  42. //Loader依赖
  43. compile 'com.wang.avi:library:2.1.3'
  44. //图片剪裁
  45. compile 'com.github.yalantis:ucrop:2.2.1-native'
  46. //二维码扫描
  47. compile 'me.dm7.barcodescanner:zbar:1.9.3'
  48. //Log
  49. compile 'com.orhanobut:logger:2.1.1'
  50. //RXJava
  51. compile 'io.reactivex.rxjava2:rxjava:2.1.1'
  52. compile 'io.reactivex.rxjava2:rxandroid:2.0.1'
  53. compile 'com.squareup.retrofit2:adapter-rxjava2:2.3.0'
  54. //JSON依赖Android版
  55. compile 'com.alibaba:fastjson:1.1.57.android'
  56. //数据库依赖
  57. compile 'org.greenrobot:greendao-generator:3.2.2'
  58. compile 'org.greenrobot:greendao:3.2.2'
  59. //微信依赖(包含统计)
  60. compile 'com.tencent.mm.opensdk:wechat-sdk-android-with-mta:1.3.4'
  61. }