config.gradle 4.5 KB

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