123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- [versions]
- agp = "8.9.1"
- kotlin = "2.0.21"
- # --- Added Versions ---
- ksp = "1.9.23-1.0.20" # KSP version (check compatibility with Kotlin version)
- navigationCompose = "2.7.7"
- ktor = "2.3.12" # Or latest stable
- room = "2.6.1"
- koin = "3.5.6"
- koinCompose = "3.5.6" # Ensure compatibility if using separate compose version
- anychart = "1.1.5" # Check for latest version
- datastore = "1.1.1"
- coil = "2.6.0"
- logback = "1.3.14" # Or latest stable for Ktor logging
- kotlinxSerializationJson = "1.6.3" # Ensure compatibility
- # --- End Added Versions ---
- coreKtx = "1.10.1"
- junit = "4.13.2"
- junitVersion = "1.1.5"
- espressoCore = "3.5.1"
- lifecycleRuntimeKtx = "2.6.1"
- activityCompose = "1.8.0"
- composeBom = "2024.09.00"
- composeCompiler = "1.5.11" # Explicitly define compiler version used in build.gradle
- [libraries]
- androidx-core-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "coreKtx" }
- junit = { group = "junit", name = "junit", version.ref = "junit" }
- androidx-junit = { group = "androidx.test.ext", name = "junit", version.ref = "junitVersion" }
- androidx-espresso-core = { group = "androidx.test.espresso", name = "espresso-core", version.ref = "espressoCore" }
- androidx-lifecycle-runtime-ktx = { group = "androidx.lifecycle", name = "lifecycle-runtime-ktx", version.ref = "lifecycleRuntimeKtx" }
- androidx-activity-compose = { group = "androidx.activity", name = "activity-compose", version.ref = "activityCompose" }
- androidx-compose-bom = { group = "androidx.compose", name = "compose-bom", version.ref = "composeBom" }
- androidx-ui = { group = "androidx.compose.ui", name = "ui" }
- androidx-ui-graphics = { group = "androidx.compose.ui", name = "ui-graphics" }
- androidx-ui-tooling = { group = "androidx.compose.ui", name = "ui-tooling" }
- androidx-ui-tooling-preview = { group = "androidx.compose.ui", name = "ui-tooling-preview" }
- androidx-ui-test-manifest = { group = "androidx.compose.ui", name = "ui-test-manifest" }
- androidx-ui-test-junit4 = { group = "androidx.compose.ui", name = "ui-test-junit4" }
- androidx-material3 = { group = "androidx.compose.material3", name = "material3" }
- # --- Added Libraries ---
- androidx-navigation-compose = { group = "androidx.navigation", name = "navigation-compose", version.ref = "navigationCompose"}
- # Ktor
- ktor-client-core = { group = "io.ktor", name = "ktor-client-core", version.ref = "ktor" }
- ktor-client-android = { group = "io.ktor", name = "ktor-client-android", version.ref = "ktor" }
- ktor-client-content-negotiation = { group = "io.ktor", name = "ktor-client-content-negotiation", version.ref = "ktor" }
- ktor-serialization-kotlinx-json = { group = "io.ktor", name = "ktor-serialization-kotlinx-json", version.ref = "ktor" }
- ktor-client-logging = { group = "io.ktor", name = "ktor-client-logging", version.ref = "ktor" }
- logback-classic = { group = "ch.qos.logback", name = "logback-classic", version.ref = "logback" }
- kotlinx-serialization-json = { group = "org.jetbrains.kotlinx", name = "kotlinx-serialization-json", version.ref = "kotlinxSerializationJson" } # Explicit dependency sometimes needed
- # Room
- androidx-room-runtime = { group = "androidx.room", name = "room-runtime", version.ref = "room" }
- androidx-room-ktx = { group = "androidx.room", name = "room-ktx", version.ref = "room" }
- androidx-room-compiler = { group = "androidx.room", name = "room-compiler", version.ref = "room" }
- # Koin
- koin-bom = { group = "io.insert-koin", name = "koin-bom", version.ref = "koin"}
- koin-android = { group = "io.insert-koin", name = "koin-android" } # Version from BOM
- koin-androidx-compose = { group = "io.insert-koin", name = "koin-androidx-compose", version.ref = "koinCompose"} # Use specific compose version
- # AnyChart
- anychart-android-core = { group = "com.github.AnyChart", name = "AnyChart-Android", version.ref = "anychart"}
- # DataStore
- androidx-datastore-preferences = { group = "androidx.datastore", name = "datastore-preferences", version.ref = "datastore"}
- # Coil
- coil-compose = { group = "io.coil-kt", name = "coil-compose", version.ref = "coil"}
- # --- End Added Libraries ---
- [plugins]
- android-application = { id = "com.android.application", version.ref = "agp" }
- kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
- kotlin-compose = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }
- # --- Added Plugins ---
- ksp = { id = "com.google.devtools.ksp", version.ref = "ksp" }
- kotlin-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" } # For Ktor/JSON
- # --- End Added Plugins ---
|