Skip to content

Commit 73ac16f

Browse files
authored
chore: increased libraries, replaced deprecated methods (#2204)
1 parent 6f7e480 commit 73ac16f

File tree

7 files changed

+14
-14
lines changed

7 files changed

+14
-14
lines changed

snippets/app-compose/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ dependencies {
7474
// [END_EXCLUDE]
7575

7676
// Android Maps Compose composables for the Maps SDK for Android
77-
implementation("com.google.maps.android:maps-compose:6.4.1")
77+
implementation("com.google.maps.android:maps-compose:6.7.1")
7878
}
7979
// [END maps_android_compose_dependency]
8080

snippets/app-compose/src/main/java/com/example/app_compose/MapsCompose.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@ import com.google.maps.android.compose.MapType
3333
import com.google.maps.android.compose.MapUiSettings
3434
import com.google.maps.android.compose.Marker
3535
import com.google.maps.android.compose.rememberCameraPositionState
36-
import com.google.maps.android.compose.rememberMarkerState
36+
import com.google.maps.android.compose.rememberUpdatedMarkerState
3737

3838
@Composable
3939
fun AddAMap() {
4040
// [START maps_android_compose_add_a_map]
4141
val singapore = LatLng(1.35, 103.87)
42-
val singaporeMarkerState = rememberMarkerState(position = singapore)
42+
val singaporeMarkerState = rememberUpdatedMarkerState(position = singapore)
4343
val cameraPositionState = rememberCameraPositionState {
4444
position = CameraPosition.fromLatLngZoom(singapore, 10f)
4545
}

snippets/app-rx/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ dependencies {
6666
// It is recommended to also include the latest Maps SDK, Places SDK and RxJava so you
6767
// have the latest features and bug fixes.
6868
implementation("com.google.android.gms:play-services-maps:19.2.0")
69-
implementation("com.google.android.libraries.places:places:4.3.1")
70-
implementation("io.reactivex.rxjava3:rxjava:3.1.8")
69+
implementation("com.google.android.libraries.places:places:4.4.1")
70+
implementation("io.reactivex.rxjava3:rxjava:3.1.11")
7171

7272
// [START_EXCLUDE silent]
7373
implementation(libs.appcompat)

snippets/app-utils/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ dependencies {
7070
// Utility Library for Maps SDK for Android
7171
// You do not need to add a separate dependency for the Maps SDK for Android
7272
// since this library builds in the compatible version of the Maps SDK.
73-
implementation("com.google.maps.android:android-maps-utils:3.12.0")
73+
implementation("com.google.maps.android:android-maps-utils:3.14.0")
7474
}
7575
// [END maps_android_utils_install_snippet]
7676

snippets/app/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ dependencies {
8181
// [END_EXCLUDE]
8282

8383
// Maps SDK for Android
84-
implementation("com.google.android.gms:play-services-maps:19.0.0")
84+
implementation("com.google.android.gms:play-services-maps:19.2.0")
8585
}
8686
// [END maps_android_play_services_maps_dependency]
8787

snippets/gradle/libs.versions.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[versions]
2-
espressoCore = "3.6.1"
2+
espressoCore = "3.7.0"
33
junit = "4.13.2"
4-
junitVersion = "1.2.1"
4+
junitVersion = "1.3.0"
55
kotlin = "2.2.0"
66
coreKtx = "1.16.0"
77
appCompat = "1.7.1"
@@ -10,13 +10,13 @@ composeMaterial = "1.8.3"
1010
mapsKtx = "5.2.0"
1111
material = "1.12.0"
1212
constraintLayout = "2.2.1"
13-
navigation = "2.9.0"
13+
navigation = "2.9.3"
1414
rxlifecycleAndroidLifecycleKotlin = "4.0.2"
1515
volley = "1.2.1"
16-
lifecycleRuntime = "2.9.1"
17-
places = "4.3.1"
16+
lifecycleRuntime = "2.9.2"
17+
places = "4.4.1"
1818
secretsGradlePlugin = "2.0.1"
19-
agp = "8.10.1"
19+
agp = "8.12.0"
2020

2121
[libraries]
2222
espresso-core = { module = "androidx.test.espresso:espresso-core", version.ref = "espressoCore" }
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#Wed Jul 10 22:14:33 CEST 2024
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
4-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip
4+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
55
zipStoreBase=GRADLE_USER_HOME
66
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)