config.gradle 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. ext {
  2. //Android 配置
  3. android = [
  4. compileSdkVersion: 30,
  5. buildToolsVersion: "30.0.0",
  6. applicationId : "com.hh.bdface",
  7. // minSdkVersion : 24,
  8. minSdkVersion : 22,
  9. targetSdkVersion : 22,
  10. versionCode : 6,
  11. versionName : "1.2.5"
  12. ]
  13. //依赖 配置
  14. dependencies = [
  15. "appcompat" : 'androidx.appcompat:appcompat:1.0.2',
  16. "rxjava2" : "io.reactivex.rxjava2:rxjava:2.2.2",
  17. "rxandroid2" : 'io.reactivex.rxjava2:rxandroid:2.1.0',
  18. // "rxjava2" : "io.reactivex.rxjava2:rxjava:2.0.7",
  19. // "rxandroid2" : 'io.reactivex.rxjava2:rxandroid:2.0.1',
  20. "okio" : 'com.squareup.okio:okio:2.1.0',
  21. "okhttp3" : 'com.squareup.okhttp3:okhttp:3.4.1',
  22. "okhttp3-log" : 'com.squareup.okhttp3:logging-interceptor:3.4.1',
  23. "retrofit" : 'com.squareup.retrofit2:retrofit:2.3.0',
  24. "retrofit-rxjava" : 'com.squareup.retrofit2:adapter-rxjava:2.3.0',
  25. "retrofit-adapter-rxjava": "com.squareup.retrofit2:adapter-rxjava2:2.3.0",
  26. "gson" : 'com.google.code.gson:gson:2.8.5',
  27. "retrofit-gson" : 'com.squareup.retrofit2:converter-gson:2.1.0',
  28. "permissions" : 'com.github.getActivity:XXPermissions:18.5',
  29. "immersionbar" : 'com.geyifeng.immersionbar:immersionbar:3.2.2',
  30. "circleimageview" : 'de.hdodenhof:circleimageview:3.1.0',
  31. "glide" : 'com.github.bumptech.glide:glide:4.9.0',
  32. // "glide" : 'com.github.bumptech.glide:glide:4.5.0',
  33. // "glide" : 'com.github.bumptech.glide:glide:3.7.0',
  34. "recyclerview" : 'androidx.recyclerview:recyclerview:1.0.0',
  35. "brvah" : 'com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.50',
  36. "eventbus" : 'org.greenrobot:eventbus:3.1.1',
  37. "aspectj" : 'org.aspectj:aspectjrt:1.8.14',
  38. "PageStateManager" : 'com.github.hss01248:PageStateManager:3.0.1',
  39. "autosize" : 'com.github.JessYanCoding:AndroidAutoSize:v1.2.1',
  40. "arouter-api" : 'com.alibaba:arouter-api:1.5.2',//ARouter api
  41. "arouter-compiler" : 'com.alibaba:arouter-compiler:1.5.2',//ARouter
  42. // Cannot access androidx.lifecycle.HasDefaultViewModelProviderFactory
  43. "lifecycle-extensions" : 'androidx.lifecycle:lifecycle-extensions:2.2.0',//ARouter api
  44. "lifecycle-runtime" : 'androidx.lifecycle:lifecycle-runtime:2.2.0',//ARouter
  45. // 状态切换
  46. "StatusLayoutManager" : 'com.github.Bakumon:StatusLayoutManager:1.0.4',
  47. // 侧滑
  48. "SwipeDelMenuLayout" : 'com.github.mcxtzhang:SwipeDelMenuLayout:V1.2.5',
  49. // 流式布局
  50. "flexbox" : 'com.google.android:flexbox:1.1.1',
  51. "flowlayout" : 'com.hyman:flowlayout-lib:1.1.2',
  52. // 阿里云OSS-图片上传
  53. "oss-android-sdk" : 'com.aliyun.dpa:oss-android-sdk:2.9.2',
  54. // 图片选择https://github.com/LuckSiege/PictureSelector/issues/923
  55. // "PictureSelector" : 'com.github.LuckSiege.PictureSelector:picture_library:v2.2.4',
  56. // "PictureSelector" : 'com.github.LuckSiege.PictureSelector:picture_library:v2.5.3',
  57. "PictureSelector" : 'io.github.lucksiege:pictureselector:v3.10.7',
  58. // 三级联动
  59. "PickerView" : 'com.contrarywind:Android-PickerView:4.1.9',
  60. // "tencent_im" : 'com.tencent.imsdk:imsdk:6.7.3184',
  61. "tencent_im" : 'com.tencent.imsdk:imsdk-plus:5.4.666',
  62. // 四周阴影
  63. "ShadowLayout" : 'com.github.lihangleo2:ShadowLayout:3.3.2',
  64. // switchbutton
  65. "SwitchButton" : 'com.kyleduo.switchbutton:library:2.1.0',
  66. // 事件分发
  67. "event-bus" : 'com.jeremyliao:live-event-bus-x:1.7.3',
  68. // blankj工具类
  69. "blankj-utilcodex" : 'com.blankj:utilcodex:1.31.1'
  70. ]
  71. //仓库
  72. maven = [
  73. "jitpack": "https://jitpack.io"
  74. ]
  75. }