build.gradle 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. apply plugin: 'com.android.library'
  2. apply from: '../dependencies.gradle'
  3. android {
  4. //other from dependencies.gradle
  5. defaultConfig {
  6. }
  7. }
  8. dependencies {
  9. //from dependencies.gradle
  10. api project(':matisse_v0.5.3-beta')
  11. //Androidx Jetpack最新的startUp组件
  12. api('androidx.startup:startup-runtime:1.0.0')
  13. api 'com.squareup.retrofit2:adapter-rxjava2:2.6.2'
  14. api 'com.squareup.retrofit2:converter-gson:2.9.0'
  15. api 'io.reactivex.rxjava2:rxjava:2.2.13'
  16. api 'io.reactivex.rxjava2:rxandroid:2.1.1'
  17. //okhttp
  18. implementation("com.squareup.okhttp3:okhttp:4.9.0")
  19. implementation("com.squareup.okhttp3:logging-interceptor:4.9.0")
  20. //retrofit
  21. api("com.squareup.retrofit2:retrofit:2.9.0")
  22. implementation("com.squareup.retrofit2:converter-gson:2.9.0")
  23. //gson
  24. api("com.google.code.gson:gson:2.8.6")
  25. //glide
  26. api 'com.github.bumptech.glide:glide:4.11.0'
  27. kapt 'com.github.bumptech.glide:compiler:4.11.0'
  28. api 'jp.wasabeef:glide-transformations:4.3.0'
  29. //coil
  30. api("io.coil-kt:coil:0.13.0")
  31. //com.shanp.common.utils
  32. api 'com.blankj:utilcodex:1.30.4'
  33. //腾讯的key-value
  34. implementation("com.tencent:mmkv-static:1.2.1")
  35. //今日头条的适配方案
  36. api 'me.jessyan:autosize:1.2.1'
  37. // // 高效加载字体库
  38. // api 'uk.co.chrisjenx:calligraphy:2.3.0'
  39. }