2015-02-03 12:58:26 +01:00
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
|
|
|
|
android {
|
2015-11-18 10:58:29 +01:00
|
|
|
compileSdkVersion 23
|
2015-09-09 18:22:47 +02:00
|
|
|
buildToolsVersion "23.0.1"
|
2015-02-03 12:58:26 +01:00
|
|
|
|
|
|
|
signingConfigs {
|
|
|
|
development {
|
2015-02-17 10:06:34 +01:00
|
|
|
storeFile file("../../keystores/debug.keystore")
|
2015-02-03 12:58:26 +01:00
|
|
|
storePassword "android"
|
|
|
|
keyAlias "androiddebugkey"
|
|
|
|
keyPassword "android"
|
|
|
|
}
|
|
|
|
|
|
|
|
publishing {
|
|
|
|
storeFile file("../../osmand_key")
|
|
|
|
storePassword System.getenv("OSMAND_APK_PASSWORD")
|
|
|
|
keyAlias "androiddebugkey"
|
|
|
|
keyPassword System.getenv("OSMAND_APK_PASSWORD")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
minSdkVersion 9
|
2015-11-18 10:58:29 +01:00
|
|
|
targetSdkVersion 23
|
2015-02-03 12:58:26 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
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.publishing
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
ivy {
|
|
|
|
name = "OsmAndBinariesIvy"
|
|
|
|
url = "http://builder.osmand.net"
|
|
|
|
layout "pattern", {
|
|
|
|
artifact "ivy/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2015-11-18 10:58:29 +01:00
|
|
|
compile project(":eclipse-compile:appcompat")
|
2015-02-03 12:58:26 +01:00
|
|
|
}
|