11plugins {
22 id ' com.android.application'
33 id ' kotlin-android'
4- id ' kotlin-android-extensions'
54
65 // Add secrets-gradle-plugin here
76 id ' com.google.android.libraries.mapsplatform.secrets-gradle-plugin'
87}
98
109android {
11- compileSdk 32
12- buildToolsVersion " 29.0.3"
10+ namespace = " com.google.codelabs.buildyourfirstmap"
1311
12+ compileOptions {
13+ sourceCompatibility JavaVersion . VERSION_11
14+ targetCompatibility JavaVersion . VERSION_11
15+ }
16+ kotlinOptions {
17+ jvmTarget = " 11"
18+ }
19+
20+ compileSdk 36
21+
1422 defaultConfig {
1523 applicationId " com.google.codelabs.buildyourfirstmap"
16- minSdk 21
17- targetSdk 32
24+ minSdk 24
25+ targetSdk 36
1826 versionCode 1
1927 versionName " 1.0"
2028
@@ -35,24 +43,24 @@ dependencies {
3543 // [START_EXCLUDE]
3644 implementation fileTree(dir : ' libs' , include : [' *.jar' ])
3745 implementation " org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version "
38- implementation ' androidx.appcompat:appcompat:1.4 .1'
39- implementation ' androidx.core:core-ktx:1.7 .0'
40- implementation ' com.google.code.gson:gson:2.8.6 '
46+ implementation ' androidx.appcompat:appcompat:1.7 .1'
47+ implementation ' androidx.core:core-ktx:1.18 .0'
48+ implementation ' com.google.code.gson:gson:2.14.0 '
4149 testImplementation ' junit:junit:4.13.2'
4250
4351 // Dependency to include Maps SDK for Android
44- implementation ' com.google.android.gms:play-services-maps:18 .0.2 '
45- implementation ' com.google.maps.android:android-maps-utils:2.2.0 '
52+ implementation ' com.google.android.gms:play-services-maps:20 .0.0 '
53+ implementation ' com.google.maps.android:android-maps-utils:4.5.2 '
4654 // [END_EXCLUDE]
4755
4856 // Maps SDK for Android KTX Library
49- implementation ' com.google.maps.android:maps-ktx:3.3.0 '
57+ implementation ' com.google.maps.android:maps-ktx:6.0.1 '
5058
5159 // Maps SDK for Android Utility Library KTX Library
52- implementation ' com.google.maps.android:maps-utils-ktx:3 .0.0 '
60+ implementation ' com.google.maps.android:maps-utils-ktx:6 .0.1 '
5361
5462 // Lifecycle Runtime KTX Library
55- implementation ' androidx.lifecycle:lifecycle-runtime-ktx:2.4.1 '
63+ implementation ' androidx.lifecycle:lifecycle-runtime-ktx:2.10.0 '
5664}
5765// [END maps_android_add_map_codelab_ktx_dependency]
5866
0 commit comments