73 lines
1.5 KiB
Groovy
73 lines
1.5 KiB
Groovy
apply plugin: 'com.android.application'
|
|
|
|
android {
|
|
compileSdkVersion 23
|
|
buildToolsVersion "23.0.1"
|
|
|
|
signingConfigs {
|
|
development {
|
|
storeFile file("../../keystores/debug.keystore")
|
|
storePassword "android"
|
|
keyAlias "androiddebugkey"
|
|
keyPassword "android"
|
|
}
|
|
release {
|
|
storeFile file(RELEASE_STORE_FILE)
|
|
storePassword RELEASE_STORE_PASSWORD
|
|
keyAlias RELEASE_KEY_ALIAS
|
|
keyPassword RELEASE_KEY_PASSWORD
|
|
}
|
|
}
|
|
|
|
defaultConfig {
|
|
minSdkVersion 9
|
|
targetSdkVersion 21
|
|
}
|
|
|
|
lintOptions {
|
|
abortOnError false
|
|
}
|
|
|
|
sourceSets {
|
|
main {
|
|
manifest.srcFile "AndroidManifest.xml"
|
|
jni.srcDirs = []
|
|
jniLibs.srcDirs = []
|
|
aidl.srcDirs = ["src"]
|
|
java.srcDirs = ["src"]
|
|
resources.srcDirs = ["src"]
|
|
renderscript.srcDirs = ["src"]
|
|
res.srcDirs = ["res"]
|
|
assets.srcDirs = ["assets"]
|
|
}
|
|
}
|
|
|
|
buildTypes {
|
|
debug {
|
|
signingConfig signingConfigs.development
|
|
}
|
|
release {
|
|
signingConfig signingConfigs.release
|
|
}
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
ivy {
|
|
name = "OsmAndBinariesIvy"
|
|
url = "http://builder.osmand.net"
|
|
layout "pattern", {
|
|
artifact "ivy/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]"
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compile 'com.google.firebase:firebase-core:9.8.0'
|
|
compile 'com.google.firebase:firebase-config:9.8.0'
|
|
compile 'com.android.support:appcompat-v7:23.3.0'
|
|
compile 'com.android.support:design:23.3.0'
|
|
}
|
|
|
|
println "Apply GMS plugin"
|
|
apply plugin: 'com.google.gms.google-services'
|