diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 92ce85b..8d8f8a3 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -68,6 +68,6 @@ dependencies { androidTestImplementation(libs.androidx.ui.test.junit4) debugImplementation(libs.androidx.ui.tooling) debugImplementation(libs.androidx.ui.test.manifest) - implementation("org.osmdroid:osmdroid-android:6.1.18") - implementation("com.google.android.gms:play-services-location:21.2.0") + implementation(libs.osmdroid.android) + implementation(libs.play.services.location) } \ No newline at end of file diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 8bb17c3..58d1966 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -8,6 +8,7 @@ espressoCore = "3.5.1" lifecycleRuntimeKtx = "2.8.2" activityCompose = "1.9.0" composeBom = "2024.06.00" +osmdroidAndroid = "6.1.18" playServicesLocation = "21.3.0" appcompat = "1.7.0" @@ -26,6 +27,7 @@ androidx-ui-tooling-preview = { group = "androidx.compose.ui", name = "ui-toolin 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" } +osmdroid-android = { module = "org.osmdroid:osmdroid-android", version.ref = "osmdroidAndroid" } play-services-location = { group = "com.google.android.gms", name = "play-services-location", version.ref = "playServicesLocation" } androidx-appcompat = { group = "androidx.appcompat", name = "appcompat", version.ref = "appcompat" }