Download this file
build.gradle
44 lines (36 with data), 985 Bytes
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.1.0'
}
}
apply plugin: 'com.android.application'
dependencies {
compile project(':library')
// Or, fetch from Maven:
// compile 'com.google.maps.android:android-maps-utils:0.3+'
compile 'com.google.android.gms:play-services-maps:7.8.0'
}
android {
compileSdkVersion 23
buildToolsVersion "23.0.0"
sourceSets {
main {
manifest.srcFile 'AndroidManifest.xml'
java.srcDirs = ['src']
res.srcDirs = ['res']
}
}
signingConfigs {
debug {
storeFile file('debug.keystore')
}
}
}
task startDemo(type: Exec) {
dependsOn 'installDebug'
def adb = new File("${System.env.ANDROID_HOME}", "platform-tools${File.separator}adb")
commandLine adb, "shell", "am", "start", "-n", "com.google.maps.android.utils.demo/.MapsActivity"
}