2013-10-25 11:19:00 -04:00
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
dependencies {
|
2014-06-10 19:05:54 -04:00
|
|
|
classpath 'com.android.tools.build:gradle:0.11.+'
|
2013-10-25 11:19:00 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
apply plugin: 'android'
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
2013-12-20 14:25:49 -05:00
|
|
|
tasks.withType(JavaCompile) {
|
2013-10-25 11:19:00 -04:00
|
|
|
options.encoding = "UTF-8"
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2013-11-04 07:31:01 -05:00
|
|
|
compile 'com.android.support:support-v4:19.0.+'
|
2014-03-22 18:31:55 -04:00
|
|
|
compile 'com.google.android.gms:play-services:4.1.+'
|
|
|
|
compile 'net.hockeyapp.android:HockeySDK:3.0.1'
|
2013-10-25 11:19:00 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
android {
|
2013-11-04 07:31:01 -05:00
|
|
|
compileSdkVersion 19
|
2014-05-16 19:05:49 -04:00
|
|
|
buildToolsVersion '19.1.0'
|
2014-03-22 18:31:55 -04:00
|
|
|
|
|
|
|
aaptOptions.useAaptPngCruncher = true
|
2013-12-20 14:25:49 -05:00
|
|
|
|
|
|
|
signingConfigs {
|
|
|
|
debug {
|
2014-03-22 18:31:55 -04:00
|
|
|
storeFile file("config/debug.keystore")
|
2013-12-20 14:25:49 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
release {
|
2014-03-22 18:31:55 -04:00
|
|
|
storeFile file("config/release.keystore")
|
|
|
|
storePassword RELEASE_STORE_PASSWORD
|
|
|
|
keyAlias RELEASE_KEY_ALIAS
|
|
|
|
keyPassword RELEASE_KEY_PASSWORD
|
2013-12-20 14:25:49 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
buildTypes {
|
|
|
|
debug {
|
|
|
|
debuggable true
|
2014-03-22 18:31:55 -04:00
|
|
|
jniDebugBuild false
|
2013-12-20 14:25:49 -05:00
|
|
|
signingConfig signingConfigs.debug
|
|
|
|
}
|
|
|
|
|
|
|
|
release {
|
|
|
|
debuggable false
|
|
|
|
jniDebugBuild false
|
|
|
|
signingConfig signingConfigs.release
|
|
|
|
}
|
2014-03-22 18:31:55 -04: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 14:25:49 -05:00
|
|
|
}
|
2013-10-25 11:19:00 -04:00
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
minSdkVersion 8
|
2013-11-04 07:31:01 -05:00
|
|
|
targetSdkVersion 19
|
2014-06-13 14:26:05 -04:00
|
|
|
versionCode 253
|
|
|
|
versionName "1.5.2"
|
2013-10-25 11:19:00 -04:00
|
|
|
}
|
|
|
|
}
|