dependent.gradle 4.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. ext {
  2. deps = [
  3. //android和kt依赖资源
  4. android: [
  5. "appcompat" : "androidx.appcompat:appcompat:1.3.1",
  6. "design" : "com.google.android.material:material:1.4.0",
  7. "constraint_layout" : "androidx.constraintlayout:constraintlayout:2.0.3",
  8. "recyclerview" : "androidx.recyclerview:recyclerview:1.2.0",
  9. 'fragment_ktx' : 'androidx.fragment:fragment-ktx:1.3.6',
  10. 'multidex' : 'androidx.multidex:multidex:2.0.1',
  11. "kt_ktx" : 'androidx.core:core-ktx:1.6.0',
  12. "ktx_coroutines_core" : 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.2',
  13. "ktx_coroutines_android": 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.5.2',
  14. "lifecycle" : 'androidx.lifecycle:lifecycle-runtime-ktx:2.3.1',
  15. "lifecycle_ktx" : 'androidx.lifecycle:lifecycle-livedata-ktx:2.3.1',
  16. "junit" : 'junit:junit:4.12',
  17. "test_junit" : 'androidx.test.ext:junit:1.1.1',
  18. "test_espresso" : 'androidx.test.espresso:espresso-core:3.2.0',
  19. ],
  20. //第三方
  21. support: [
  22. "glide" : 'com.github.bumptech.glide:glide:4.12.0',
  23. "glide_annotation" : 'com.github.bumptech.glide:annotations:4.12.0',
  24. "glide_integration" : 'com.github.bumptech.glide:okhttp3-integration:4.12.0',
  25. "glide_compiler" : 'com.github.bumptech.glide:compiler:4.12.0',
  26. "gif_drawable" : 'pl.droidsonroids.gif:android-gif-drawable:1.2.10',
  27. "hilt" : 'com.google.dagger:hilt-android:2.38.1',
  28. "hilt_kapt" : 'com.google.dagger:hilt-android-compiler:2.38.1',
  29. "arouter" : 'com.alibaba:arouter-api:1.5.2',
  30. "arouter_kapt" : 'com.alibaba:arouter-compiler:1.5.2',
  31. "retrofit2" : 'com.squareup.retrofit2:retrofit:2.9.0',
  32. "retrofit_gson" : 'com.squareup.retrofit2:converter-gson:2.9.0',
  33. 'okio' : 'com.squareup.okio:okio:3.0.0',
  34. 'gson_factory' : 'com.github.getActivity:GsonFactory:5.2', //Gson转换容错处理
  35. "data_store" : 'androidx.datastore:datastore-preferences:1.0.0',
  36. "data_store_core" : 'androidx.datastore:datastore-preferences-core:1.0.0',
  37. "permission" : 'com.github.getActivity:XXPermissions:13.2',
  38. "live_bus" : 'io.github.jeremyliao:live-event-bus-x:1.8.0',
  39. "brvah" : 'com.github.CymChad:BaseRecyclerViewAdapterHelper:3.0.6',
  40. "smart_refresh_core": 'com.scwang.smart:refresh-layout-kernel:2.0.1',
  41. "smart_refresh_head": 'com.scwang.smart:refresh-header-classics:2.0.1',
  42. "picture_selector" : 'io.github.lucksiege:pictureselector:v2.7.3-rc05', //图片选择
  43. "easy_adapter" : 'com.lxj:easyadapter:1.2.3', //xpopup为本地依赖,xpopup的内置依赖库
  44. "toast_util" : 'com.github.getActivity:ToastUtils:10.3', //气泡库
  45. "picker_view" : 'com.contrarywind:Android-PickerView:4.1.8', //PickerView
  46. "banner" : 'com.youth.banner:banner:2.1.0', //轮播
  47. "sticky_decoration" : 'com.gavin.com.library:stickyDecoration:1.5.3', //RV悬停
  48. "round_layout" : 'com.github.minminaya:GenaralRoundLayout:1.0.0', //圆角控件
  49. //CameraX Location Pay IM JPush ScanCode SQLite ...something or other
  50. // "litepal" : 'org.litepal.guolindev:core:3.2.3',
  51. ]
  52. ]
  53. versions = [
  54. 'minSdk' : 21,
  55. 'targetSdk' : 31,
  56. 'compileSdk': 31,
  57. ]
  58. }