config.gradle 4.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. ext {
  2. //Android 配置
  3. android = [
  4. compileSdkVersion: 30,
  5. buildToolsVersion: "30.0.0",
  6. applicationId : "com.hh.hhomc",
  7. // minSdkVersion : 24,
  8. minSdkVersion : 21,
  9. targetSdkVersion : 30,
  10. versionCode : 25,
  11. versionName : "1.4.2.241231"
  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:13.6',
  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. // 四周阴影
  61. "ShadowLayout" : 'com.github.lihangleo2:ShadowLayout:3.3.2',
  62. // switchbutton
  63. "SwitchButton" : 'com.kyleduo.switchbutton:library:2.1.0',
  64. // 事件分发
  65. "event-bus" : 'com.jeremyliao:live-event-bus-x:1.7.3',
  66. // blankj工具类
  67. "blankj-utilcodex" : 'com.blankj:utilcodex:1.31.1'
  68. ]
  69. //仓库
  70. maven = [
  71. "jitpack": "https://jitpack.io"
  72. ]
  73. }