dependabot-preview[bot] ffe9d8f1bc
chore(deps): bump maps-ktx in /tutorials/kotlin/MapWithMarker (#202)
Bumps [maps-ktx](https://github.com/googlemaps/android-maps-ktx) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/googlemaps/android-maps-ktx/releases)
- [Changelog](https://github.com/googlemaps/android-maps-ktx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/googlemaps/android-maps-ktx/compare/v1.4.0...v1.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-14 08:46:14 -07:00

50 lines
1.9 KiB
Groovy

apply plugin: 'com.android.application'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlin-android'
android {
compileSdkVersion 29
buildToolsVersion "28.0.3"
defaultConfig {
applicationId "com.example.mapwithmarker"
minSdkVersion 16
targetSdkVersion 29
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
// Read the API key from tutorials/kotlin/MapWithMarker/app/secure.properties into R.string.maps_api_key
def secureProps = new Properties()
if (file("secure.properties").exists()) {
file("secure.properties")?.withInputStream { secureProps.load(it) }
}
resValue "string", "maps_api_key", (secureProps.getProperty("MAPS_API_KEY") ?: "")
// To add your Maps API key to this project:
// 1. Create a file tutorials/kotlin/MapWithMarker/app/secure.properties
// 2. Add this line, where YOUR_API_KEY is your API key:
// MAPS_API_KEY=YOUR_API_KEY
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation "androidx.core:core-ktx:1.2.0"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'androidx.appcompat:appcompat:1.1.0'
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.2.0'
implementation 'com.google.android.gms:play-services-maps:17.0.0'
implementation 'com.google.maps.android:maps-ktx:1.5.0'
// Tests
testImplementation 'junit:junit:4.13'
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
}