libs.versions.toml 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. [versions]
  2. minSdk = "21"
  3. compileSdk = "34"
  4. targetSdk = "34"
  5. core-ktx = "1.12.0"
  6. androidx-activity = "1.8.2"
  7. androidx-annotation = "1.7.1"
  8. androidx-appcompat = "1.6.1"
  9. androidx-fragment-ktx = "1.6.2"
  10. lifecycle-ktx = "2.7.0"
  11. androidx-cardview = "1.0.0"
  12. androidx-recyclerview = "1.3.2"
  13. androidx-constraintlayout = "2.1.4"
  14. google-flexbox = "3.0.0"
  15. squareup-okhttp = "4.9.3"
  16. squareup-retrofit = "2.9.0"
  17. tencent-mmkv = "1.3.1"
  18. kotlin = "1.8.10"
  19. paging-runtime = "3.2.1"
  20. agp = "8.1.3"
  21. org-jetbrains-kotlin-android = "1.8.10"
  22. junit = "4.13.2"
  23. androidx-test-ext-junit = "1.1.5"
  24. espresso-core = "3.5.1"
  25. material = "1.11.0"
  26. gson = "2.8.0"
  27. logger = "2.2.0"
  28. utilcodex = "1.31.0"
  29. immersionbar = "3.2.2"
  30. zxing-lite = "2.4.0"
  31. flyco-tabLayout = "3.0.0"
  32. dialogX = "0.0.49"
  33. filedownloader = "1.7.7"
  34. [libraries]
  35. #android
  36. core-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "core-ktx" }
  37. annotations = { group = "androidx.annotation", name = "annotation", version.ref = "androidx-annotation" }
  38. appcompat = { group = "androidx.appcompat", name = "appcompat", version.ref = "androidx-appcompat" }
  39. fragment-ktx = { group = "androidx.fragment", name = "fragment-ktx", version.ref = "androidx-fragment-ktx" }
  40. activity-ktx = { group = "androidx.activity", name = "activity-ktx", version.ref = "androidx-activity" }
  41. lifecycle-viewmodle-ktx = { group = "androidx.lifecycle", name = "lifecycle-viewmodel-ktx", version.ref = "lifecycle-ktx" }
  42. lifecycle-runtime-ktx = { group = "androidx.lifecycle", name = "lifecycle-runtime-ktx", version.ref = "lifecycle-ktx" }
  43. lifecycle-livedata-ktx = { group = "androidx.lifecycle", name = "lifecycle-livedata-ktx", version.ref = "lifecycle-ktx" }
  44. #widget
  45. cardview = { group = "androidx.cardview", name = "cardview", version.ref = "androidx-cardview" }
  46. recyclerview = { group = "androidx.recyclerview", name = "recyclerview", version.ref = "androidx-recyclerview" }
  47. constraintlayout = { group = "androidx.constraintlayout", name = "constraintlayout", version.ref = "androidx-constraintlayout" }
  48. flexbox = { group = "com.google.android.flexbox", name = "flexbox", version.ref = "google-flexbox" }
  49. #http
  50. okhttp = { group = "com.squareup.okhttp3", name = "okhttp", version.ref = "squareup-okhttp" }
  51. okhttp-logging-inteceptor = { group = "com.squareup.okhttp3", name = "logging-interceptor", version.ref = "squareup-okhttp" }
  52. retrofit = { group = "com.squareup.retrofit2", name = "retrofit", version.ref = "squareup-retrofit" }
  53. retrofit-convert-gson = { group = "com.squareup.retrofit2", name = "converter-gson", version.ref = "squareup-retrofit" }
  54. gson = { group = "com.google.code.gson", name = "gson", version.ref = "gson" }
  55. #store
  56. mmkv = { group = "com.tencent", name = "mmkv-static", version.ref = "tencent-mmkv" }
  57. #other
  58. kotlin-reflect = { group = "org.jetbrains.kotlin", name = "kotlin-reflect", version.ref = "kotlin" }
  59. paging = { group = "androidx.paging", name = "paging-runtime", version.ref = "paging-runtime" }
  60. junit = { group = "junit", name = "junit", version.ref = "junit" }
  61. androidx-test-ext-junit = { group = "androidx.test.ext", name = "junit", version.ref = "androidx-test-ext-junit" }
  62. espresso-core = { group = "androidx.test.espresso", name = "espresso-core", version.ref = "espresso-core" }
  63. material = { group = "com.google.android.material", name = "material", version.ref = "material" }
  64. logger = { group = "com.orhanobut", name = "logger", version.ref = "logger" }
  65. #business
  66. utilcodex = { group = "com.blankj", name = "utilcodex", version.ref = "utilcodex" }
  67. immersionbar = { group = "com.geyifeng.immersionbar", name = "immersionbar", version.ref = "immersionbar" }
  68. immersionbar-ktx = { group = "com.geyifeng.immersionbar", name = "immersionbar-ktx", version.ref = "immersionbar" }
  69. zxing-lite = { group = "com.github.jenly1314", name = "zxing-lite", version.ref = "zxing-lite" }
  70. flyco-tabLayout = { group = "io.github.h07000223", name = "flycoTabLayout", version.ref = "flyco-tabLayout" }
  71. dialogX = { group = "com.github.kongzue.DialogX", name = "DialogX", version.ref = "dialogX" }
  72. filedownloader = { group = "com.liulishuo.filedownloader", name = "library", version.ref = "filedownloader" }
  73. [plugins]
  74. com-android-library = { id = "com.android.library", version.ref = "agp" }
  75. org-jetbrains-kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "org-jetbrains-kotlin-android" }
  76. com-android-application = { id = "com.android.application", version.ref = "agp" }
  77. [bundles]
  78. androidx = ["core-ktx", "annotations", "appcompat", "fragment-ktx", "activity-ktx", "lifecycle-viewmodle-ktx", "lifecycle-runtime-ktx", "lifecycle-livedata-ktx"]
  79. okhttp = ["okhttp", "okhttp-logging-inteceptor"]
  80. retrofit = ["retrofit", "retrofit-convert-gson"]