Skip to content

Commit

Permalink
chore: update snippets to target android-35. Update snippets libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
dkhawk committed Dec 19, 2024
1 parent 2ac2f24 commit 8b8268c
Show file tree
Hide file tree
Showing 9 changed files with 21 additions and 21 deletions.
8 changes: 4 additions & 4 deletions snippets/app-compose/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,18 @@
plugins {
id("com.android.application")
id("org.jetbrains.kotlin.android")
id("org.jetbrains.kotlin.plugin.compose") version "2.0.0"
id("org.jetbrains.kotlin.plugin.compose") version "2.0.21"
id("com.google.android.libraries.mapsplatform.secrets-gradle-plugin")
}

android {
namespace = "com.example.app_compose"
compileSdk = 34
compileSdk = 35

defaultConfig {
applicationId = "com.example.app_compose"
minSdk = 21
targetSdk = 34
targetSdk = 35
versionCode = 1
versionName = "1.0"

Expand Down Expand Up @@ -72,7 +72,7 @@ dependencies {
// [END_EXCLUDE]

// Android Maps Compose composables for the Maps SDK for Android
implementation("com.google.maps.android:maps-compose:6.2.1")
implementation("com.google.maps.android:maps-compose:6.4.0")
}
// [END maps_android_compose_dependency]

Expand Down
4 changes: 2 additions & 2 deletions snippets/app-ktx/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ plugins {

android {
namespace = "com.example.app_ktx"
compileSdk = 34
compileSdk = 35

defaultConfig {
applicationId = "com.example.app_ktx"
minSdk = 21
targetSdk = 34
targetSdk = 35
versionCode = 1
versionName = "1.0"

Expand Down
6 changes: 3 additions & 3 deletions snippets/app-places-ktx/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ plugins {

android {
namespace = "com.example.app_places_ktx"
compileSdk = 34
compileSdk = 35

defaultConfig {
applicationId = "com.example.app_places_ktx"
minSdk = 21
targetSdk = 34
targetSdk = 35
versionCode = 1
versionName = "1.0"

Expand Down Expand Up @@ -66,7 +66,7 @@ dependencies {
// [END_EXCLUDE]

// KTX for the Places SDK for Android library
implementation("com.google.maps.android:places-ktx:3.2.0")
implementation("com.google.maps.android:places-ktx:3.3.1")
}
// [END places_android_ktx_install_snippet]

Expand Down
6 changes: 3 additions & 3 deletions snippets/app-rx/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ plugins {

android {
namespace = "com.example.app_maps_rx"
compileSdk = 34
compileSdk = 35

defaultConfig {
applicationId = "com.example.app_maps_rx"
minSdk = 24
targetSdk = 34
targetSdk = 35
versionCode = 1
versionName = "1.0"

Expand Down Expand Up @@ -64,7 +64,7 @@ dependencies {
// It is recommended to also include the latest Maps SDK, Places SDK and RxJava so you
// have the latest features and bug fixes.
implementation("com.google.android.gms:play-services-maps:19.0.0")
implementation("com.google.android.libraries.places:places:3.5.0")
implementation("com.google.android.libraries.places:places:4.1.0")
implementation("io.reactivex.rxjava3:rxjava:3.1.8")

// [START_EXCLUDE silent]
Expand Down
4 changes: 2 additions & 2 deletions snippets/app-utils-ktx/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ plugins {

android {
namespace = "com.example.app_utils_ktx"
compileSdk = 34
compileSdk = 35

defaultConfig {
applicationId = "com.example.app_utils_ktx"
minSdk = 21
targetSdk = 34
targetSdk = 35
versionCode = 1
versionName = "1.0"

Expand Down
6 changes: 3 additions & 3 deletions snippets/app-utils/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ plugins {

android {
namespace = "com.example.app_utils"
compileSdk = 34
compileSdk = 35

defaultConfig {
applicationId = "com.example.app_utils"
minSdk = 21
targetSdk = 34
targetSdk = 35
versionCode = 1
versionName = "1.0"

Expand Down Expand Up @@ -68,7 +68,7 @@ dependencies {
// Utility Library for Maps SDK for Android
// You do not need to add a separate dependency for the Maps SDK for Android
// since this library builds in the compatible version of the Maps SDK.
implementation("com.google.maps.android:android-maps-utils:3.8.2")
implementation("com.google.maps.android:android-maps-utils:3.9.0")
}
// [END maps_android_utils_install_snippet]

Expand Down
4 changes: 2 additions & 2 deletions snippets/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ plugins {
// [END maps_android_secrets_gradle_plugin]

android {
compileSdk = 34
compileSdk = 35
defaultConfig {
applicationId = "com.google.maps.example"
minSdk = 24
targetSdk = 34
targetSdk = 35
versionCode = 1
versionName = "1.0"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
Expand Down
2 changes: 1 addition & 1 deletion snippets/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ buildscript {
// [END maps_android_secrets_gradle_plugin_project_level_config]

plugins {
id("com.android.application") version "8.5.0" apply false
id("com.android.application") version "8.7.3" apply false
id("org.jetbrains.kotlin.android") version "2.0.0" apply false
}

Expand Down
2 changes: 1 addition & 1 deletion snippets/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Wed Jul 10 22:14:33 CEST 2024
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit 8b8268c

Please sign in to comment.