2013-10-25 11:19:00 -04:00
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
dependencies {
|
2014-11-06 16:34:47 -05:00
|
|
|
classpath 'com.android.tools.build:gradle:0.14.0'
|
2013-10-25 11:19:00 -04:00
|
|
|
}
|
|
|
|
}
|
2014-07-02 18:39:05 -04:00
|
|
|
apply plugin: 'com.android.application'
|
2013-10-25 11:19:00 -04:00
|
|
|
|
|
|
|
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 {
|
2014-11-16 21:44:57 -05:00
|
|
|
compile 'com.android.support:support-v4:21.0.+'
|
2014-08-08 06:17:06 -04:00
|
|
|
compile 'com.google.android.gms:play-services:3.2.+'
|
2014-10-11 07:30:32 -04:00
|
|
|
compile 'net.hockeyapp.android:HockeySDK:3.0.2'
|
2014-07-11 09:54:17 -04:00
|
|
|
compile 'com.googlecode.mp4parser:isoparser:1.0.+'
|
2013-10-25 11:19:00 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
android {
|
2014-10-17 19:06:51 -04:00
|
|
|
compileSdkVersion 21
|
2014-11-07 05:23:17 -05:00
|
|
|
buildToolsVersion '21.1.1'
|
2014-03-22 18:31:55 -04:00
|
|
|
|
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-11-10 06:05:22 -05:00
|
|
|
jniDebuggable true
|
2013-12-20 14:25:49 -05:00
|
|
|
signingConfig signingConfigs.debug
|
|
|
|
}
|
|
|
|
|
|
|
|
release {
|
|
|
|
debuggable false
|
2014-11-10 06:05:22 -05:00
|
|
|
jniDebuggable false
|
2013-12-20 14:25:49 -05:00
|
|
|
signingConfig signingConfigs.release
|
|
|
|
}
|
2014-03-22 18:31:55 -04:00
|
|
|
|
|
|
|
foss {
|
|
|
|
debuggable false
|
2014-11-10 06:05:22 -05:00
|
|
|
jniDebuggable false
|
2014-03-22 18:31:55 -04:00
|
|
|
signingConfig signingConfigs.release
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
sourceSets.main {
|
|
|
|
jniLibs.srcDir 'libs'
|
|
|
|
jni.srcDirs = [] //disable automatic ndk-build call
|
|
|
|
}
|
|
|
|
|
2014-11-21 14:36:21 -05:00
|
|
|
sourceSets.debug {
|
|
|
|
manifest.srcFile 'config/debug/AndroidManifest.xml'
|
|
|
|
}
|
|
|
|
|
|
|
|
sourceSets.release {
|
|
|
|
manifest.srcFile 'config/release/AndroidManifest.xml'
|
|
|
|
}
|
|
|
|
|
|
|
|
sourceSets.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
|
2014-11-06 16:34:47 -05:00
|
|
|
targetSdkVersion 21
|
2014-12-01 12:56:31 -05:00
|
|
|
versionCode 403
|
|
|
|
versionName "2.1.0"
|
2013-10-25 11:19:00 -04:00
|
|
|
}
|
|
|
|
}
|