Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 13 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,9 @@ android {
}
}

// [START maps_android_compose_dependency]
dependencies {
implementation project(':maps-compose')
// [START_EXCLUDE silent]
implementation 'androidx.activity:activity-compose:1.4.0'
implementation "androidx.compose.foundation:foundation:$compose_version"
implementation "androidx.compose.material:material:$compose_version"
Expand All @@ -54,11 +55,21 @@ dependencies {
androidTestImplementation 'junit:junit:4.13.2'
androidTestImplementation "androidx.compose.ui:ui-test-junit4:$compose_version"
androidTestImplementation "org.jetbrains.kotlinx:kotlinx-coroutines-test:1.6.0"

// For debugging purposes, uncomment the implementation project declaration
// so that the sample app can use the local state of the `maps-compose`
// module.
// However, this should remain uncommented on the `main` branch so that
// the maven declaration of Maps Compose can be used as a snippet.
// implementation project(':maps-compose')
// [END_EXCLUDE silent]
implementation "com.google.maps.android:maps-compose:2.1.0"
}
// [END maps_android_compose_dependency]

secrets {
// To add your Maps API key to this project:
// 1. Add this line to your local.properties file, where YOUR_API_KEY is your API key:
// MAPS_API_KEY=YOUR_API_KEY
defaultPropertiesFileName 'local.defaults.properties'
}
}