Chris Arriola cd44d81c3c
feat: 18.0.0 samples (#732)
* feat: 18.0.0 samples

* Map BG Color
* Moving cloud based map styling from v3 to gms
* Opt-in renderer

Change-Id: I094e53c9d9ef6b59abe443fb0791646b025cbd3d

* Add exported and bump minSdkVersion

Change-Id: Ied1e4e0aa507b3e67ce09679824225dd4fca88a3

* Bump snippet repo versions.

Change-Id: I50183bcfa4ef5a11d910545848200a9be03605c3

* Bump 18.0.0

Change-Id: I6c174f15e4afa4b2b20a52e956fc1c82e9f71d60
2021-10-27 09:04:41 -07:00

45 lines
1.4 KiB
Groovy

plugins {
id 'com.android.application'
id 'com.google.android.libraries.mapsplatform.secrets-gradle-plugin'
}
android {
compileSdkVersion 31
buildToolsVersion "28.0.3"
defaultConfig {
applicationId "com.example.mapwithmarker"
minSdkVersion 19
targetSdkVersion 31
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
// [START maps_android_play_services_maps_dependency]
dependencies {
implementation 'com.google.android.gms:play-services-maps:18.0.0'
// [START_EXCLUDE]
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.appcompat:appcompat:1.3.1'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
// [END_EXCLUDE]
}
// [END maps_android_play_services_maps_dependency]
secrets {
// To add your Maps API key to this project:
// 1. Open the root project's local.properties file
// 2. Add this line, where YOUR_API_KEY is your API key:
// MAPS_API_KEY=YOUR_API_KEY
defaultPropertiesFileName 'local.defaults.properties'
}