build.gradle 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. apply plugin: 'com.android.library'
  2. android {
  3. compileSdkVersion 26
  4. defaultConfig {
  5. minSdkVersion 16
  6. targetSdkVersion 26
  7. versionCode 1
  8. versionName "1.0"
  9. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  10. }
  11. buildTypes {
  12. release {
  13. minifyEnabled false
  14. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  15. }
  16. }
  17. }
  18. configurations {
  19. all*.exclude group: 'com.android.support', module: 'support-v13'
  20. }
  21. dependencies {
  22. def retrofitVersion = '2.3.0'
  23. implementation fileTree(include: ['*.jar'], dir: 'libs')
  24. androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
  25. exclude group: 'com.android.support', module: 'support-annotations'
  26. })
  27. testImplementation 'junit:junit:4.12'
  28. implementation 'com.android.support:appcompat-v7:26.1.0'
  29. compile 'com.android.support:support-v4:26.1.0'
  30. androidTestImplementation 'com.android.support.test:runner:1.0.2'
  31. androidTestImplementation 'com.android.support.test.espresso:espresso-core:2.2.2'
  32. implementation 'me.majiajie:pager-bottom-tab-strip:2.3.0'
  33. compile 'com.android.support:recyclerview-v7:26.1.0'
  34. compile 'com.android.support:design:26.1.0'
  35. //fragmentation
  36. compile 'me.yokeyword:fragmentation:1.1.6'
  37. //rx
  38. compile 'io.reactivex.rxjava2:rxjava:2.1.1'
  39. compile 'io.reactivex.rxjava2:rxandroid:2.0.1'
  40. compile 'com.jakewharton.rxbinding2:rxbinding:2.0.0'
  41. //network
  42. compile "com.squareup.retrofit2:retrofit:$retrofitVersion"
  43. compile "com.squareup.retrofit2:converter-gson:$retrofitVersion"
  44. compile "com.squareup.retrofit2:adapter-rxjava2:$retrofitVersion"
  45. compile 'com.squareup.okhttp3:logging-interceptor:3.8.1'
  46. // 处理常用的编码方法的工具类包
  47. compile 'commons-codec:commons-codec:1.10'
  48. compile 'com.jakewharton.timber:timber:4.5.1'
  49. //get set
  50. compileOnly 'org.projectlombok:lombok:1.16.16'
  51. annotationProcessor "org.projectlombok:lombok:1.16.16"
  52. //状态栏颜色修改
  53. compile 'com.gyf.barlibrary:barlibrary:2.2.9'
  54. //dagger
  55. provided 'javax.annotation:javax.annotation-api:1.2'
  56. //底部栏
  57. compile 'me.majiajie:pager-bottom-tab-strip:+'
  58. //按钮显示数字 https://github.com/qstumn/BadgeView
  59. compile 'q.rorbin:badgeview:1.1.3'
  60. //banner https://github.com/youth5201314/banner
  61. compile 'com.youth.banner:banner:1.4.10'
  62. //最新版本
  63. // 图片加载依赖
  64. compile 'com.github.bumptech.glide:glide:3.7.0'
  65. compile 'com.github.bumptech.glide:okhttp3-integration:1.4.0@aar'
  66. //拉刷新
  67. compile 'com.scwang.smartrefresh:SmartRefreshLayout:1.1.0-alpha-18'
  68. compile 'com.scwang.smartrefresh:SmartRefreshHeader:1.1.0-alpha-18'
  69. //没有使用特殊Header,可以不加这行
  70. //popwindow
  71. compile 'com.example.zhouwei.library:library:1.0.0'
  72. /*扫描 https://github.com/yuzhiqiang1993/zxing*/
  73. compile 'com.github.yuzhiqiang1993:zxing:2.2.5'
  74. compile 'com.yongyu.tabLayoutHelper:library:1.0.0'
  75. //权限
  76. compile 'com.tbruyelle.rxpermissions2:rxpermissions:0.9.4@aar'
  77. compile 'org.jsoup:jsoup:1.10.1'
  78. implementation 'com.afollestad.material-dialogs:core:0.9.1.0'
  79. implementation 'com.afollestad.material-dialogs:commons:0.9.1.0'
  80. compile 'com.github.chrisbanes:PhotoView:1.2.5'
  81. compile 'com.just.agentweb:agentweb:4.0.2'
  82. compile 'com.lcodecorex:tkrefreshlayout:1.0.7'
  83. //版本更新
  84. compile 'com.qianwen:update-app:3.5.2'
  85. //okhttputils
  86. // compile 'com.qianwen:okhttp-utils:3.8.0'
  87. compile 'com.zhy:okhttputils:2.6.2'
  88. }