mirror of
https://github.com/googlemaps/android-samples.git
synced 2026-02-01 14:35:06 +00:00
This commit updates various dependencies and refactors the application of the Google Services Gradle plugin in the FireMarkers sample. - Bumps the Android Gradle Plugin, Kotlin, and Navigation component versions in the `snippets` and `CurrentPlaceDetailsOnMap` projects. - Refactors the `FireMarkers` sample to define the `google-services` plugin in the version catalog (`libs.versions.toml`) and reference it using a type-safe alias. - Simplifies the conditional application of the `google-services` plugin in the app-level `build.gradle.kts` file, making the logic more direct.
56 lines
3.1 KiB
TOML
56 lines
3.1 KiB
TOML
[versions]
|
|
compileSdk = "36"
|
|
targetSdk = "36"
|
|
minSdk = "24"
|
|
|
|
mapsRx = "1.0.0"
|
|
agp = "8.13.1"
|
|
appCompat = "1.7.1"
|
|
composeFoundation = "1.9.4"
|
|
composeMaterial = "1.9.4"
|
|
constraintLayout = "2.2.1"
|
|
coreKtx = "1.17.0"
|
|
espressoCore = "3.7.0"
|
|
junit = "4.13.2"
|
|
junitVersion = "1.3.0"
|
|
kotlin = "2.2.21"
|
|
lifecycleRuntime = "2.9.4"
|
|
mapsKtx = "5.2.1"
|
|
material = "1.13.0"
|
|
navigation = "2.9.6"
|
|
places = "5.0.0"
|
|
play-services-maps = "19.2.0"
|
|
rxlifecycleAndroidLifecycleKotlin = "4.0.2"
|
|
secretsGradlePlugin = "2.0.1"
|
|
volley = "1.2.1"
|
|
|
|
[libraries]
|
|
appcompat = { group = "androidx.appcompat", name = "appcompat", version.ref = "appCompat" }
|
|
compose-foundation = { group = "androidx.compose.foundation", name = "foundation", version.ref = "composeFoundation" }
|
|
compose-material = { group = "androidx.compose.material", name = "material", version.ref = "composeMaterial" }
|
|
constraintlayout = { group = "androidx.constraintlayout", name = "constraintlayout", version.ref = "constraintLayout" }
|
|
core-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "coreKtx" }
|
|
espresso-core = { module = "androidx.test.espresso:espresso-core", version.ref = "espressoCore" }
|
|
ext-junit = { module = "androidx.test.ext:junit", version.ref = "junitVersion" }
|
|
junit = { module = "junit:junit", version.ref = "junit" }
|
|
kotlin-stdlib = { group = "org.jetbrains.kotlin", name = "kotlin-stdlib", version.ref = "kotlin" }
|
|
kotlin-stdlib-jdk8 = { module = "org.jetbrains.kotlin:kotlin-stdlib-jdk8", version.ref = "kotlin" }
|
|
lifecycle-runtime-ktx = { group = "androidx.lifecycle", name = "lifecycle-runtime-ktx", version.ref = "lifecycleRuntime" }
|
|
maps-ktx = { module = "com.google.maps.android:maps-ktx", version.ref = "mapsKtx" }
|
|
maps-rx = { module = "com.google.maps.android:maps-rx", version.ref = "mapsRx" }
|
|
maps-utils-ktx = { module = "com.google.maps.android:maps-utils-ktx", version.ref = "mapsKtx" }
|
|
material = { group = "com.google.android.material", name = "material", version.ref = "material" }
|
|
navigation-fragment-ktx = { group = "androidx.navigation", name = "navigation-fragment-ktx", version.ref = "navigation" }
|
|
navigation-ui-ktx = { group = "androidx.navigation", name = "navigation-ui-ktx", version.ref = "navigation" }
|
|
places = { group = "com.google.android.libraries.places", name = "places", version.ref = "places" }
|
|
places-rx = { module = "com.google.maps.android:places-rx", version.ref = "mapsRx" }
|
|
play-services-maps = { module = "com.google.android.gms:play-services-maps", version.ref = "play-services-maps" }
|
|
rxlifecycle-android-lifecycle-kotlin = { module = "com.trello.rxlifecycle4:rxlifecycle-android-lifecycle-kotlin", version.ref = "rxlifecycleAndroidLifecycleKotlin" }
|
|
volley = { group = "com.android.volley", name = "volley", version.ref = "volley" }
|
|
|
|
[plugins]
|
|
android-application = { id = "com.android.application", version.ref = "agp" }
|
|
jetbrains-kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
|
|
kotlin-compose = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }
|
|
secrets-gradle-plugin = { id = "com.google.android.libraries.mapsplatform.secrets-gradle-plugin", version.ref = "secretsGradlePlugin" }
|