dependent.gradle 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. ext {
  2. versions = [
  3. 'minSdk' : 19,
  4. 'targetSdk' : 30,
  5. 'compileSdk' : 30,
  6. 'buildToolsVersion': '30.0.3'
  7. ]
  8. deps = [
  9. //android和kt依赖资源
  10. android: [
  11. "appcompat" : "androidx.appcompat:appcompat:1.2.0",
  12. "constraint_layout" : "androidx.constraintlayout:constraintlayout:1.1.3",
  13. "recyclerview" : "androidx.recyclerview:recyclerview:1.1.0",
  14. "design" : "com.google.android.material:material:1.1.0",
  15. 'multidex' : 'androidx.multidex:multidex:2.0.1',
  16. 'fragment_ktx' : 'androidx.fragment:fragment-ktx:1.2.5',
  17. "kt_ktx" : 'androidx.core:core-ktx:1.3.2',
  18. "ktx_coroutines_core" : 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.9',
  19. "ktx_coroutines_android": 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.9',
  20. "lifecycle" : 'androidx.lifecycle:lifecycle-extensions:2.2.0',
  21. "lifecycle_vm" : 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.2.0',
  22. "lifecycle_live" : 'androidx.lifecycle:lifecycle-livedata-ktx:2.2.0',
  23. "lifecycle_scope" : 'androidx.lifecycle:lifecycle-runtime-ktx:2.2.0',
  24. "junit" : 'junit:junit:4.12',
  25. "test_junit" : 'androidx.test.ext:junit:1.1.1',
  26. "test_espresso" : 'androidx.test.espresso:espresso-core:3.2.0',
  27. ],
  28. //第三方
  29. support: [
  30. "glide" : 'com.github.bumptech.glide:glide:4.11.0',
  31. "glide_annotation" : 'com.github.bumptech.glide:annotations:4.11.0',
  32. "glide_integration" : 'com.github.bumptech.glide:okhttp3-integration:4.11.0',
  33. "glide_compiler" : 'com.github.bumptech.glide:compiler:4.11.0',
  34. "hilt" : 'com.google.dagger:hilt-android:2.28-alpha',
  35. "hilt_kapt" : 'com.google.dagger:hilt-android-compiler:2.28-alpha',
  36. "hilt_vm" : 'androidx.hilt:hilt-lifecycle-viewmodel:1.0.0-alpha02',
  37. "hilt_vm_kapt" : 'androidx.hilt:hilt-compiler:1.0.0-alpha02',
  38. "retrofit2" : 'com.squareup.retrofit2:retrofit:2.7.1',
  39. "retrofit_gson" : 'com.squareup.retrofit2:converter-gson:2.6.2',
  40. 'cookie_jar' : 'com.github.franmontiel:PersistentCookieJar:v1.0.1',
  41. "permission" : 'com.yanzhenjie:permission:2.0.3',
  42. "live_bus" : 'com.jeremyliao:live-event-bus-x:1.7.2',
  43. "brvah" : 'com.github.CymChad:BaseRecyclerViewAdapterHelper:3.0.6',
  44. "smart_refresh_core": 'com.scwang.smart:refresh-layout-kernel:2.0.1',
  45. "smart_refresh_head": 'com.scwang.smart:refresh-header-classics:2.0.1',
  46. "picture_selector" : 'com.github.LuckSiege.PictureSelector:picture_library:v2.6.0', //图片选择
  47. "easy_adapter" : 'com.lxj:easyadapter:1.2.3', //xpopup的内置依赖库
  48. "xpopup" : 'com.lxj:xpopup:2.2.10',
  49. "picker_view" : 'com.contrarywind:Android-PickerView:4.1.9', //PicierView (可选)
  50. "banner" : 'com.youth.banner:banner:2.1.0', //轮播 (可选)
  51. ]
  52. ]
  53. }