2013-10-25 15:19:00 +00:00
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
dependencies {
|
2014-06-10 23:05:54 +00:00
|
|
|
classpath 'com.android.tools.build:gradle:0.11.+'
|
2013-10-25 15:19:00 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
apply plugin: 'android'
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
2013-12-20 19:25:49 +00:00
|
|
|
tasks.withType(JavaCompile) {
|
2013-10-25 15:19:00 +00:00
|
|
|
options.encoding = "UTF-8"
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2013-11-04 12:31:01 +00:00
|
|
|
compile 'com.android.support:support-v4:19.0.+'
|
2014-03-22 22:31:55 +00:00
|
|
|
compile 'com.google.android.gms:play-services:4.1.+'
|
|
|
|
compile 'net.hockeyapp.android:HockeySDK:3.0.1'
|
2013-10-25 15:19:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
android {
|
2013-11-04 12:31:01 +00:00
|
|
|
compileSdkVersion 19
|
2014-05-16 23:05:49 +00:00
|
|
|
buildToolsVersion '19.1.0'
|
2014-03-22 22:31:55 +00:00
|
|
|
|
|
|
|
aaptOptions.useAaptPngCruncher = true
|
2013-12-20 19:25:49 +00:00
|
|
|
|
|
|
|
signingConfigs {
|
|
|
|
debug {
|
2014-03-22 22:31:55 +00:00
|
|
|
storeFile file("config/debug.keystore")
|
2013-12-20 19:25:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
release {
|
2014-03-22 22:31:55 +00:00
|
|
|
storeFile file("config/release.keystore")
|
|
|
|
storePassword RELEASE_STORE_PASSWORD
|
|
|
|
keyAlias RELEASE_KEY_ALIAS
|
|
|
|
keyPassword RELEASE_KEY_PASSWORD
|
2013-12-20 19:25:49 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
buildTypes {
|
|
|
|
debug {
|
|
|
|
debuggable true
|
2014-03-22 22:31:55 +00:00
|
|
|
jniDebugBuild false
|
2013-12-20 19:25:49 +00:00
|
|
|
signingConfig signingConfigs.debug
|
|
|
|
}
|
|
|
|
|
|
|
|
release {
|
|
|
|
debuggable false
|
|
|
|
jniDebugBuild false
|
|
|
|
signingConfig signingConfigs.release
|
|
|
|
}
|
2014-03-22 22:31:55 +00:00
|
|
|
|
|
|
|
foss {
|
|
|
|
debuggable false
|
|
|
|
jniDebugBuild false
|
|
|
|
signingConfig signingConfigs.release
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
sourceSets.main {
|
|
|
|
jniLibs.srcDir 'libs'
|
|
|
|
jni.srcDirs = [] //disable automatic ndk-build call
|
|
|
|
}
|
|
|
|
|
|
|
|
sourceSets {
|
|
|
|
debug {
|
|
|
|
manifest.srcFile 'config/debug/AndroidManifest.xml'
|
|
|
|
}
|
|
|
|
release {
|
|
|
|
manifest.srcFile 'config/release/AndroidManifest.xml'
|
|
|
|
}
|
|
|
|
foss {
|
|
|
|
manifest.srcFile 'config/foss/AndroidManifest.xml'
|
|
|
|
}
|
2013-12-20 19:25:49 +00:00
|
|
|
}
|
2013-10-25 15:19:00 +00:00
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
minSdkVersion 8
|
2013-11-04 12:31:01 +00:00
|
|
|
targetSdkVersion 19
|
2014-06-17 20:43:57 +00:00
|
|
|
versionCode 261
|
2014-06-17 14:45:21 +00:00
|
|
|
versionName "1.5.6"
|
2013-10-25 15:19:00 +00:00
|
|
|
}
|
|
|
|
}
|