2014-07-03 00:39:05 +02:00
|
|
|
apply plugin: 'com.android.application'
|
2013-10-25 17:19:00 +02:00
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2015-09-02 00:14:21 +02:00
|
|
|
compile 'com.android.support:support-v4:23.0.+'
|
2014-08-08 12:17:06 +02:00
|
|
|
compile 'com.google.android.gms:play-services:3.2.+'
|
2015-01-02 23:15:07 +01:00
|
|
|
compile 'net.hockeyapp.android:HockeySDK:3.5.+'
|
2014-07-11 15:54:17 +02:00
|
|
|
compile 'com.googlecode.mp4parser:isoparser:1.0.+'
|
2015-09-24 22:52:02 +02:00
|
|
|
compile 'org.apache.httpcomponents:httpmime:4.2.1'
|
2013-10-25 17:19:00 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
android {
|
2015-03-19 00:09:45 +01:00
|
|
|
compileSdkVersion 22
|
2015-09-24 22:52:02 +02:00
|
|
|
buildToolsVersion '23.0.1'
|
|
|
|
|
|
|
|
packagingOptions {
|
|
|
|
exclude 'META-INF/NOTICE.txt'
|
|
|
|
exclude 'META-INF/LICENSE.txt'
|
|
|
|
}
|
2015-01-02 23:15:07 +01:00
|
|
|
|
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility JavaVersion.VERSION_1_7
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_7
|
|
|
|
}
|
2014-03-22 23:31:55 +01:00
|
|
|
|
2013-12-20 20:25:49 +01:00
|
|
|
signingConfigs {
|
|
|
|
debug {
|
2014-03-22 23:31:55 +01:00
|
|
|
storeFile file("config/debug.keystore")
|
2013-12-20 20:25:49 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
release {
|
2014-03-22 23:31:55 +01:00
|
|
|
storeFile file("config/release.keystore")
|
|
|
|
storePassword RELEASE_STORE_PASSWORD
|
|
|
|
keyAlias RELEASE_KEY_ALIAS
|
|
|
|
keyPassword RELEASE_KEY_PASSWORD
|
2013-12-20 20:25:49 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
buildTypes {
|
|
|
|
debug {
|
|
|
|
debuggable true
|
2014-11-10 12:05:22 +01:00
|
|
|
jniDebuggable true
|
2013-12-20 20:25:49 +01:00
|
|
|
signingConfig signingConfigs.debug
|
|
|
|
}
|
|
|
|
|
|
|
|
release {
|
|
|
|
debuggable false
|
2014-11-10 12:05:22 +01:00
|
|
|
jniDebuggable false
|
2013-12-20 20:25:49 +01:00
|
|
|
signingConfig signingConfigs.release
|
|
|
|
}
|
2014-03-22 23:31:55 +01:00
|
|
|
|
|
|
|
foss {
|
|
|
|
debuggable false
|
2014-11-10 12:05:22 +01:00
|
|
|
jniDebuggable false
|
2014-03-22 23:31:55 +01:00
|
|
|
signingConfig signingConfigs.release
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
sourceSets.main {
|
|
|
|
jniLibs.srcDir 'libs'
|
|
|
|
jni.srcDirs = [] //disable automatic ndk-build call
|
|
|
|
}
|
|
|
|
|
2014-11-21 20:36:21 +01: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 20:25:49 +01:00
|
|
|
}
|
2013-10-25 17:19:00 +02:00
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
minSdkVersion 8
|
2015-03-19 00:09:45 +01:00
|
|
|
targetSdkVersion 22
|
2015-09-24 22:52:02 +02:00
|
|
|
versionCode 627
|
|
|
|
versionName "3.2.2"
|
2013-10-25 17:19:00 +02:00
|
|
|
}
|
|
|
|
}
|