2014-07-02 22:39:05 +00:00
|
|
|
apply plugin: 'com.android.application'
|
2013-10-25 15:19:00 +00:00
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2015-10-29 17:10:07 +00:00
|
|
|
compile 'com.android.support:support-v4:23.1.+'
|
2014-08-08 10:17:06 +00:00
|
|
|
compile 'com.google.android.gms:play-services:3.2.+'
|
2015-11-26 21:04:02 +00:00
|
|
|
compile 'net.hockeyapp.android:HockeySDK:3.6.+'
|
2014-07-11 13:54:17 +00:00
|
|
|
compile 'com.googlecode.mp4parser:isoparser:1.0.+'
|
2013-10-25 15:19:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
android {
|
2015-10-29 17:10:07 +00:00
|
|
|
compileSdkVersion 23
|
2015-11-26 21:04:02 +00:00
|
|
|
buildToolsVersion '23.0.2'
|
2015-09-24 20:52:02 +00:00
|
|
|
|
2015-10-29 17:10:07 +00:00
|
|
|
useLibrary 'org.apache.http.legacy'
|
|
|
|
|
2015-01-02 22:15:07 +00:00
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility JavaVersion.VERSION_1_7
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_7
|
|
|
|
}
|
2014-03-22 22:31:55 +00:00
|
|
|
|
2013-12-20 19:25:49 +00:00
|
|
|
signingConfigs {
|
|
|
|
debug {
|
2015-11-26 21:04:02 +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
|
|
|
}
|
|
|
|
|
|
|
|
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-11-10 11:05:22 +00:00
|
|
|
jniDebuggable true
|
2013-12-20 19:25:49 +00:00
|
|
|
signingConfig signingConfigs.debug
|
2015-11-26 21:04:02 +00:00
|
|
|
applicationIdSuffix ".beta"
|
2013-12-20 19:25:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
release {
|
|
|
|
debuggable false
|
2014-11-10 11:05:22 +00:00
|
|
|
jniDebuggable false
|
2013-12-20 19:25:49 +00:00
|
|
|
signingConfig signingConfigs.release
|
|
|
|
}
|
2014-03-22 22:31:55 +00:00
|
|
|
|
|
|
|
foss {
|
|
|
|
debuggable false
|
2014-11-10 11:05:22 +00:00
|
|
|
jniDebuggable false
|
2014-03-22 22:31:55 +00:00
|
|
|
signingConfig signingConfigs.release
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
sourceSets.main {
|
|
|
|
jniLibs.srcDir 'libs'
|
|
|
|
jni.srcDirs = [] //disable automatic ndk-build call
|
|
|
|
}
|
|
|
|
|
2014-11-21 19:36:21 +00: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 19:25:49 +00:00
|
|
|
}
|
2013-10-25 15:19:00 +00:00
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
minSdkVersion 8
|
2015-10-29 17:10:07 +00:00
|
|
|
targetSdkVersion 23
|
2015-12-09 18:27:52 +00:00
|
|
|
versionCode 695
|
|
|
|
versionName "3.3.2"
|
2013-10-25 15:19:00 +00:00
|
|
|
}
|
|
|
|
}
|