mirror of
https://github.com/googlemaps/android-samples.git
synced 2025-12-08 18:02:20 +00:00
35 lines
1.1 KiB
Groovy
35 lines
1.1 KiB
Groovy
apply plugin: 'com.android.application'
|
|
|
|
android {
|
|
compileSdkVersion 24
|
|
buildToolsVersion "23.0.3"
|
|
defaultConfig {
|
|
applicationId "com.example.currentplacedetailsonmap"
|
|
minSdkVersion 15
|
|
targetSdkVersion 24
|
|
versionCode 1
|
|
versionName "1.0"
|
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
|
resValue "string", "google_maps_key", (project.findProperty("GOOGLE_MAPS_API_KEY") ?: "")
|
|
}
|
|
buildTypes {
|
|
debug {
|
|
debuggable true
|
|
}
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compile fileTree(dir: 'libs', include: ['*.jar'])
|
|
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
|
|
exclude group: 'com.android.support', module: 'support-annotations'
|
|
})
|
|
compile 'com.android.support:appcompat-v7:24.0.0'
|
|
compile 'com.google.android.gms:play-services:9.8.0'
|
|
testCompile 'junit:junit:4.12'
|
|
}
|