[versions] kotlin = "2.0.21" ksp = "2.0.21-1.0.27" agp = "8.7.3" composeBom = "2024.12.01" navigationCompose = "2.8.5" hilt = "2.52" hiltNavigationCompose = "1.2.0" room = "2.6.1" workManager = "2.10.0" retrofit = "2.11.0" moshi = "1.15.2" okhttp = "4.12.0" playServicesLocation = "21.3.0" datastorePreferences = "1.1.2" lifecycleViewmodelCompose = "2.8.7" maplibre = "11.7.1" coroutines = "1.9.0" junit = "4.13.2" junitExt = "1.2.1" espresso = "3.6.1" [libraries] # Compose compose-bom = { group = "androidx.compose", name = "compose-bom", version.ref = "composeBom" } compose-ui = { group = "androidx.compose.ui", name = "ui" } compose-ui-graphics = { group = "androidx.compose.ui", name = "ui-graphics" } compose-ui-tooling-preview = { group = "androidx.compose.ui", name = "ui-tooling-preview" } compose-ui-tooling = { group = "androidx.compose.ui", name = "ui-tooling" } compose-ui-test-manifest = { group = "androidx.compose.ui", name = "ui-test-manifest" } compose-ui-test-junit4 = { group = "androidx.compose.ui", name = "ui-test-junit4" } compose-material3 = { group = "androidx.compose.material3", name = "material3" } compose-activity = { group = "androidx.activity", name = "activity-compose", version = "1.9.3" } navigation-compose = { group = "androidx.navigation", name = "navigation-compose", version.ref = "navigationCompose" } lifecycle-viewmodel-compose = { group = "androidx.lifecycle", name = "lifecycle-viewmodel-compose", version.ref = "lifecycleViewmodelCompose" } # Hilt hilt-android = { group = "com.google.dagger", name = "hilt-android", version.ref = "hilt" } hilt-compiler = { group = "com.google.dagger", name = "hilt-android-compiler", version.ref = "hilt" } hilt-navigation-compose = { group = "androidx.hilt", name = "hilt-navigation-compose", version.ref = "hiltNavigationCompose" } # Room room-runtime = { group = "androidx.room", name = "room-runtime", version.ref = "room" } room-ktx = { group = "androidx.room", name = "room-ktx", version.ref = "room" } room-compiler = { group = "androidx.room", name = "room-compiler", version.ref = "room" } # WorkManager workmanager = { group = "androidx.work", name = "work-runtime-ktx", version.ref = "workManager" } hilt-work = { group = "androidx.hilt", name = "hilt-work", version = "1.2.0" } hilt-work-compiler = { group = "androidx.hilt", name = "hilt-compiler", version = "1.2.0" } # Retrofit + Moshi retrofit = { group = "com.squareup.retrofit2", name = "retrofit", version.ref = "retrofit" } retrofit-moshi = { group = "com.squareup.retrofit2", name = "converter-moshi", version.ref = "retrofit" } moshi-kotlin = { group = "com.squareup.moshi", name = "moshi-kotlin", version.ref = "moshi" } moshi-codegen = { group = "com.squareup.moshi", name = "moshi-kotlin-codegen", version.ref = "moshi" } okhttp-logging = { group = "com.squareup.okhttp3", name = "logging-interceptor", version.ref = "okhttp" } # Location play-services-location = { group = "com.google.android.gms", name = "play-services-location", version.ref = "playServicesLocation" } # DataStore datastore-preferences = { group = "androidx.datastore", name = "datastore-preferences", version.ref = "datastorePreferences" } # MapLibre maplibre = { group = "org.maplibre.gl", name = "android-sdk", version.ref = "maplibre" } # Coroutines coroutines-core = { group = "org.jetbrains.kotlinx", name = "kotlinx-coroutines-core", version.ref = "coroutines" } coroutines-android = { group = "org.jetbrains.kotlinx", name = "kotlinx-coroutines-android", version.ref = "coroutines" } # Tests junit = { group = "junit", name = "junit", version.ref = "junit" } junit-ext = { group = "androidx.test.ext", name = "junit", version.ref = "junitExt" } espresso-core = { group = "androidx.test.espresso", name = "espresso-core", version.ref = "espresso" } [plugins] android-application = { id = "com.android.application", version.ref = "agp" } android-library = { id = "com.android.library", version.ref = "agp" } kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" } kotlin-compose = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" } ksp = { id = "com.google.devtools.ksp", version.ref = "ksp" } hilt = { id = "com.google.dagger.hilt.android", version.ref = "hilt" }