Alex Muramoto e5be55c7b8 Update gradle files to resolve build errors in tutorials (#118)
* upgrade gradle version and gradle file

* update gradle for mapwithmarker tutorial

* update gradle for polygons tutorial

* update gradle for styled map tutorial
2019-04-19 09:42:51 -07:00

32 lines
1.0 KiB
Groovy

apply plugin: 'com.android.application'
android {
compileSdkVersion 25
buildToolsVersion '28.0.3'
defaultConfig {
applicationId "com.example.styledmap"
minSdkVersion 16
targetSdkVersion 26
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
resValue "string", "google_maps_key", (project.findProperty("GOOGLE_MAPS_API_KEY") ?: "")
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
implementation 'com.android.support:appcompat-v7:25.0.1'
implementation 'com.google.android.gms:play-services:9.8.0'
testImplementation 'junit:junit:4.12'
}