libs.versions.toml 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. [versions]
  2. agp = "8.9.1"
  3. kotlin = "2.0.21"
  4. # --- Added Versions ---
  5. ksp = "1.9.23-1.0.20" # KSP version (check compatibility with Kotlin version)
  6. navigationCompose = "2.7.7"
  7. ktor = "2.3.12" # Or latest stable
  8. room = "2.6.1"
  9. koin = "3.5.6"
  10. koinCompose = "3.5.6" # Ensure compatibility if using separate compose version
  11. anychart = "1.1.5" # Check for latest version
  12. datastore = "1.1.1"
  13. coil = "2.6.0"
  14. logback = "1.3.14" # Or latest stable for Ktor logging
  15. kotlinxSerializationJson = "1.6.3" # Ensure compatibility
  16. # --- End Added Versions ---
  17. coreKtx = "1.10.1"
  18. junit = "4.13.2"
  19. junitVersion = "1.1.5"
  20. espressoCore = "3.5.1"
  21. lifecycleRuntimeKtx = "2.6.1"
  22. activityCompose = "1.8.0"
  23. composeBom = "2024.09.00"
  24. composeCompiler = "1.5.11" # Explicitly define compiler version used in build.gradle
  25. [libraries]
  26. androidx-core-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "coreKtx" }
  27. junit = { group = "junit", name = "junit", version.ref = "junit" }
  28. androidx-junit = { group = "androidx.test.ext", name = "junit", version.ref = "junitVersion" }
  29. androidx-espresso-core = { group = "androidx.test.espresso", name = "espresso-core", version.ref = "espressoCore" }
  30. androidx-lifecycle-runtime-ktx = { group = "androidx.lifecycle", name = "lifecycle-runtime-ktx", version.ref = "lifecycleRuntimeKtx" }
  31. androidx-activity-compose = { group = "androidx.activity", name = "activity-compose", version.ref = "activityCompose" }
  32. androidx-compose-bom = { group = "androidx.compose", name = "compose-bom", version.ref = "composeBom" }
  33. androidx-ui = { group = "androidx.compose.ui", name = "ui" }
  34. androidx-ui-graphics = { group = "androidx.compose.ui", name = "ui-graphics" }
  35. androidx-ui-tooling = { group = "androidx.compose.ui", name = "ui-tooling" }
  36. androidx-ui-tooling-preview = { group = "androidx.compose.ui", name = "ui-tooling-preview" }
  37. androidx-ui-test-manifest = { group = "androidx.compose.ui", name = "ui-test-manifest" }
  38. androidx-ui-test-junit4 = { group = "androidx.compose.ui", name = "ui-test-junit4" }
  39. androidx-material3 = { group = "androidx.compose.material3", name = "material3" }
  40. # --- Added Libraries ---
  41. androidx-navigation-compose = { group = "androidx.navigation", name = "navigation-compose", version.ref = "navigationCompose"}
  42. # Ktor
  43. ktor-client-core = { group = "io.ktor", name = "ktor-client-core", version.ref = "ktor" }
  44. ktor-client-android = { group = "io.ktor", name = "ktor-client-android", version.ref = "ktor" }
  45. ktor-client-content-negotiation = { group = "io.ktor", name = "ktor-client-content-negotiation", version.ref = "ktor" }
  46. ktor-serialization-kotlinx-json = { group = "io.ktor", name = "ktor-serialization-kotlinx-json", version.ref = "ktor" }
  47. ktor-client-logging = { group = "io.ktor", name = "ktor-client-logging", version.ref = "ktor" }
  48. logback-classic = { group = "ch.qos.logback", name = "logback-classic", version.ref = "logback" }
  49. kotlinx-serialization-json = { group = "org.jetbrains.kotlinx", name = "kotlinx-serialization-json", version.ref = "kotlinxSerializationJson" } # Explicit dependency sometimes needed
  50. # Room
  51. androidx-room-runtime = { group = "androidx.room", name = "room-runtime", version.ref = "room" }
  52. androidx-room-ktx = { group = "androidx.room", name = "room-ktx", version.ref = "room" }
  53. androidx-room-compiler = { group = "androidx.room", name = "room-compiler", version.ref = "room" }
  54. # Koin
  55. koin-bom = { group = "io.insert-koin", name = "koin-bom", version.ref = "koin"}
  56. koin-android = { group = "io.insert-koin", name = "koin-android" } # Version from BOM
  57. koin-androidx-compose = { group = "io.insert-koin", name = "koin-androidx-compose", version.ref = "koinCompose"} # Use specific compose version
  58. # AnyChart
  59. anychart-android-core = { group = "com.github.AnyChart", name = "AnyChart-Android", version.ref = "anychart"}
  60. # DataStore
  61. androidx-datastore-preferences = { group = "androidx.datastore", name = "datastore-preferences", version.ref = "datastore"}
  62. # Coil
  63. coil-compose = { group = "io.coil-kt", name = "coil-compose", version.ref = "coil"}
  64. # --- End Added Libraries ---
  65. [plugins]
  66. android-application = { id = "com.android.application", version.ref = "agp" }
  67. kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
  68. kotlin-compose = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }
  69. # --- Added Plugins ---
  70. ksp = { id = "com.google.devtools.ksp", version.ref = "ksp" }
  71. kotlin-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" } # For Ktor/JSON
  72. # --- End Added Plugins ---