libs.versions.toml 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. [versions]
  2. agp = "8.13.1"
  3. kotlin = "2.0.21"
  4. coreKtx = "1.10.1"
  5. junit = "4.13.2"
  6. junitVersion = "1.1.5"
  7. espressoCore = "3.5.1"
  8. lifecycleRuntimeKtx = "2.6.1"
  9. activityCompose = "1.8.0"
  10. composeBom = "2024.09.00"
  11. coroutines = "1.6.4"
  12. [libraries]
  13. androidx-core-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "coreKtx" }
  14. junit = { group = "junit", name = "junit", version.ref = "junit" }
  15. androidx-junit = { group = "androidx.test.ext", name = "junit", version.ref = "junitVersion" }
  16. androidx-espresso-core = { group = "androidx.test.espresso", name = "espresso-core", version.ref = "espressoCore" }
  17. androidx-lifecycle-runtime-ktx = { group = "androidx.lifecycle", name = "lifecycle-runtime-ktx", version.ref = "lifecycleRuntimeKtx" }
  18. androidx-lifecycle-viewmodel-compose = { group = "androidx.lifecycle", name = "lifecycle-viewmodel-compose", version = "2.8.0" }
  19. androidx-activity-compose = { group = "androidx.activity", name = "activity-compose", version.ref = "activityCompose" }
  20. androidx-compose-bom = { group = "androidx.compose", name = "compose-bom", version.ref = "composeBom" }
  21. androidx-compose-ui = { group = "androidx.compose.ui", name = "ui" }
  22. androidx-compose-ui-graphics = { group = "androidx.compose.ui", name = "ui-graphics" }
  23. androidx-compose-ui-tooling = { group = "androidx.compose.ui", name = "ui-tooling" }
  24. androidx-compose-ui-tooling-preview = { group = "androidx.compose.ui", name = "ui-tooling-preview" }
  25. androidx-compose-ui-test-manifest = { group = "androidx.compose.ui", name = "ui-test-manifest" }
  26. androidx-compose-ui-test-junit4 = { group = "androidx.compose.ui", name = "ui-test-junit4" }
  27. androidx-compose-material3 = { group = "androidx.compose.material3", name = "material3" }
  28. # 网络请求
  29. retrofit-core = { group = "com.squareup.retrofit2", name = "retrofit", version = "3.0.0" }
  30. retrofit-converter-gson = { group = "com.squareup.retrofit2", name = "converter-gson", version = "3.0.0" }
  31. retrofit-interceptor-logging = { group = "com.squareup.okhttp3", name = "logging-interceptor", version = "4.12.0" }
  32. # 携程相关
  33. coroutines-core = { group = "org.jetbrains.kotlinx", name = "kotlinx-coroutines-core", version.ref = "coroutines" }
  34. coroutines-android = { group = "org.jetbrains.kotlinx", name = "kotlinx-coroutines-android", version.ref = "coroutines" }
  35. # MMKV
  36. tencent-mmkv = { group = "com.tencent", name = "mmkv", version = "2.2.3" }
  37. # 阿里消息推送
  38. push = { group = "com.aliyun.ams", name = "alicloud-android-push", version = "3.10.1" }
  39. [plugins]
  40. android-application = { id = "com.android.application", version.ref = "agp" }
  41. kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
  42. kotlin-compose = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }