mirror of
https://github.com/googlemaps/android-samples.git
synced 2025-12-08 18:02:20 +00:00
Bumps [maps-compose](https://github.com/googlemaps/android-maps-compose) from 2.1.0 to 2.1.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/googlemaps/android-maps-compose/releases">maps-compose's releases</a>.</em></p> <blockquote> <h2>v2.1.1</h2> <h2><a href="https://github.com/googlemaps/android-maps-compose/compare/v2.1.0...v2.1.1">2.1.1</a> (2022-05-06)</h2> <h3>Bug Fixes</h3> <ul> <li>Ensure CameraPositionState map reference clears when GoogleMap l… (<a href="https://github-redirect.dependabot.com/googlemaps/android-maps-compose/issues/109">#109</a>) (<a href="2f09c6df0c">2f09c6d</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="cf9f878ece"><code>cf9f878</code></a> chore(release): 2.1.1 [skip ci]</li> <li><a href="2f09c6df0c"><code>2f09c6d</code></a> fix: Ensure CameraPositionState map reference clears when GoogleMap l… (<a href="https://github-redirect.dependabot.com/googlemaps/android-maps-compose/issues/109">#109</a>)</li> <li><a href="3ce97d8154"><code>3ce97d8</code></a> chore: Edit maps_compose_dependency region tag. (<a href="https://github-redirect.dependabot.com/googlemaps/android-maps-compose/issues/97">#97</a>)</li> <li><a href="2a6f33ec36"><code>2a6f33e</code></a> chore: Add maps_android_compose_dependency region tag. (<a href="https://github-redirect.dependabot.com/googlemaps/android-maps-compose/issues/96">#96</a>)</li> <li>See full diff in <a href="https://github.com/googlemaps/android-maps-compose/compare/v2.1.0...v2.1.1">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
98 lines
3.4 KiB
Groovy
98 lines
3.4 KiB
Groovy
plugins {
|
|
id 'com.android.application'
|
|
id 'kotlin-android'
|
|
// [START maps_android_secrets_gradle_plugin]
|
|
id 'com.google.android.libraries.mapsplatform.secrets-gradle-plugin'
|
|
// [END maps_android_secrets_gradle_plugin]
|
|
}
|
|
|
|
android {
|
|
compileSdk 32
|
|
defaultConfig {
|
|
applicationId "com.google.maps.example"
|
|
minSdk 24
|
|
targetSdk 32
|
|
versionCode 1
|
|
versionName "1.0"
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
|
|
composeOptions {
|
|
kotlinCompilerExtensionVersion '1.2.0-alpha05'
|
|
}
|
|
|
|
buildFeatures {
|
|
compose true
|
|
}
|
|
|
|
flavorDimensions "version"
|
|
|
|
productFlavors {
|
|
gms {
|
|
dimension "version"
|
|
applicationIdSuffix ".gms"
|
|
versionNameSuffix "-gms"
|
|
}
|
|
v3 {
|
|
dimension "version"
|
|
applicationIdSuffix ".v3"
|
|
versionNameSuffix "-v3"
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(dir: "libs", include: ["*.jar"])
|
|
implementation 'org.jetbrains.kotlin:kotlin-stdlib:1.6.10'
|
|
implementation 'androidx.core:core-ktx:1.7.0'
|
|
implementation 'androidx.appcompat:appcompat:1.4.1'
|
|
implementation "androidx.compose.foundation:foundation:1.2.0-alpha06"
|
|
implementation "androidx.compose.material:material:1.2.0-alpha06"
|
|
implementation 'com.google.android.material:material:1.5.0'
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.1.3'
|
|
implementation 'androidx.navigation:navigation-fragment-ktx:2.4.1'
|
|
implementation 'androidx.navigation:navigation-ui-ktx:2.4.1'
|
|
implementation 'com.android.volley:volley:1.2.1'
|
|
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.4.1'
|
|
implementation 'io.reactivex.rxjava3:rxjava:3.1.4'
|
|
implementation 'com.google.android.libraries.places:places:2.5.0'
|
|
|
|
gmsImplementation 'com.google.maps.android:maps-ktx:3.4.0'
|
|
gmsImplementation 'com.google.maps.android:maps-compose:2.1.1'
|
|
gmsImplementation 'com.google.android.gms:play-services-maps:18.0.2'
|
|
gmsImplementation 'com.google.maps.android:android-maps-utils:2.3.0'
|
|
gmsImplementation 'com.google.maps.android:maps-rx:1.0.0'
|
|
gmsImplementation 'com.google.maps.android:places-rx:1.0.0'
|
|
v3Implementation 'com.google.android.libraries.maps:maps:3.1.0-beta'
|
|
|
|
testImplementation 'junit:junit:4.13.2'
|
|
}
|
|
|
|
// [START maps_android_secrets_gradle_plugin_config]
|
|
secrets {
|
|
// Optionally specify a different file name containing your secrets.
|
|
// The plugin defaults to "local.properties"
|
|
propertiesFileName = "secrets.properties"
|
|
|
|
// A properties file containing default secret values. This file can be
|
|
// checked in version control.
|
|
defaultPropertiesFileName = 'local.defaults.properties'
|
|
|
|
// Configure which keys should be ignored by the plugin by providing regular expressions.
|
|
// "sdk.dir" is ignored by default.
|
|
ignoreList.add("keyToIgnore") // Ignore the key "keyToIgnore"
|
|
ignoreList.add("sdk.*") // Ignore all keys matching the regexp "sdk.*"
|
|
}
|
|
// [END maps_android_secrets_gradle_plugin_config]
|