mirror of
https://github.com/googlemaps/android-samples.git
synced 2025-12-08 18:02:20 +00:00
chore(deps): bump androidx.lifecycle:lifecycle-runtime-ktx in /snippets Bumps androidx.lifecycle:lifecycle-runtime-ktx from 2.8.2 to 2.8.3. --- updated-dependencies: - dependency-name: androidx.lifecycle:lifecycle-runtime-ktx dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
89 lines
2.9 KiB
Groovy
89 lines
2.9 KiB
Groovy
// [START maps_android_secrets_gradle_plugin]
|
|
plugins {
|
|
// [START_EXCLUDE]
|
|
id 'com.android.application'
|
|
id 'kotlin-android'
|
|
// [END_EXCLUDE]
|
|
id 'com.google.android.libraries.mapsplatform.secrets-gradle-plugin'
|
|
}
|
|
// [END maps_android_secrets_gradle_plugin]
|
|
|
|
android {
|
|
compileSdk 34
|
|
defaultConfig {
|
|
applicationId "com.google.maps.example"
|
|
minSdk 24
|
|
targetSdk 34
|
|
versionCode 1
|
|
versionName "1.0"
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
}
|
|
|
|
buildFeatures {
|
|
buildConfig = true
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
|
|
flavorDimensions "version"
|
|
|
|
productFlavors {
|
|
gms {
|
|
dimension "version"
|
|
applicationIdSuffix ".gms"
|
|
versionNameSuffix "-gms"
|
|
}
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_17
|
|
targetCompatibility JavaVersion.VERSION_17
|
|
}
|
|
namespace 'com.google.maps.example'
|
|
}
|
|
|
|
// [START maps_android_play_services_maps_dependency]
|
|
dependencies {
|
|
// [START_EXCLUDE silent]
|
|
implementation fileTree(dir: "libs", include: ["*.jar"])
|
|
implementation 'org.jetbrains.kotlin:kotlin-stdlib:2.0.0'
|
|
implementation 'androidx.core:core-ktx:1.13.1'
|
|
implementation 'androidx.appcompat:appcompat:1.7.0'
|
|
implementation "androidx.compose.foundation:foundation:1.7.0-beta04"
|
|
implementation "androidx.compose.material:material:1.7.0-beta04"
|
|
implementation 'com.google.android.material:material:1.12.0'
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
|
|
implementation 'androidx.navigation:navigation-fragment-ktx:2.7.7'
|
|
implementation 'androidx.navigation:navigation-ui-ktx:2.7.7'
|
|
implementation 'com.android.volley:volley:1.2.1'
|
|
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.8.3'
|
|
implementation 'com.google.android.libraries.places:places:3.5.0'
|
|
// [END_EXCLUDE]
|
|
|
|
// Maps SDK for Android
|
|
implementation 'com.google.android.gms:play-services-maps:19.0.0'
|
|
}
|
|
// [END maps_android_play_services_maps_dependency]
|
|
|
|
// [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]
|