2013-10-25 19:19:00 +04:00
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
dependencies {
|
2015-03-02 17:08:37 +01:00
|
|
|
classpath 'com.android.tools.build:gradle:1.1.0'
|
2013-10-25 19:19:00 +04:00
|
|
|
}
|
|
|
|
}
|
2014-07-03 02:39:05 +04:00
|
|
|
apply plugin: 'com.android.application'
|
2013-10-25 19:19:00 +04:00
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2014-11-17 05:44:57 +03:00
|
|
|
compile 'com.android.support:support-v4:21.0.+'
|
2014-08-08 14:17:06 +04:00
|
|
|
compile 'com.google.android.gms:play-services:3.2.+'
|
2015-01-03 01:15:07 +03:00
|
|
|
compile 'net.hockeyapp.android:HockeySDK:3.5.+'
|
2014-07-11 17:54:17 +04:00
|
|
|
compile 'com.googlecode.mp4parser:isoparser:1.0.+'
|
2015-01-03 01:15:07 +03:00
|
|
|
compile 'com.android.support:recyclerview-v7:+'
|
2013-10-25 19:19:00 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
android {
|
2014-10-18 03:06:51 +04:00
|
|
|
compileSdkVersion 21
|
2015-01-03 01:15:07 +03:00
|
|
|
buildToolsVersion '21.1.2'
|
|
|
|
|
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility JavaVersion.VERSION_1_7
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_7
|
|
|
|
}
|
2014-03-23 02:31:55 +04:00
|
|
|
|
2013-12-20 23:25:49 +04:00
|
|
|
signingConfigs {
|
|
|
|
debug {
|
2014-03-23 02:31:55 +04:00
|
|
|
storeFile file("config/debug.keystore")
|
2013-12-20 23:25:49 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
release {
|
2014-03-23 02:31:55 +04:00
|
|
|
storeFile file("config/release.keystore")
|
|
|
|
storePassword RELEASE_STORE_PASSWORD
|
|
|
|
keyAlias RELEASE_KEY_ALIAS
|
|
|
|
keyPassword RELEASE_KEY_PASSWORD
|
2013-12-20 23:25:49 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
buildTypes {
|
|
|
|
debug {
|
|
|
|
debuggable true
|
2014-11-10 14:05:22 +03:00
|
|
|
jniDebuggable true
|
2013-12-20 23:25:49 +04:00
|
|
|
signingConfig signingConfigs.debug
|
|
|
|
}
|
|
|
|
|
|
|
|
release {
|
|
|
|
debuggable false
|
2014-11-10 14:05:22 +03:00
|
|
|
jniDebuggable false
|
2015-03-02 21:03:14 +01:00
|
|
|
//signingConfig signingConfigs.release
|
2013-12-20 23:25:49 +04:00
|
|
|
}
|
2014-03-23 02:31:55 +04:00
|
|
|
|
|
|
|
foss {
|
|
|
|
debuggable false
|
2014-11-10 14:05:22 +03:00
|
|
|
jniDebuggable false
|
2014-03-23 02:31:55 +04:00
|
|
|
signingConfig signingConfigs.release
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
sourceSets.main {
|
|
|
|
jniLibs.srcDir 'libs'
|
|
|
|
jni.srcDirs = [] //disable automatic ndk-build call
|
|
|
|
}
|
|
|
|
|
2014-11-21 22:36:21 +03: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 23:25:49 +04:00
|
|
|
}
|
2013-10-25 19:19:00 +04:00
|
|
|
|
2015-03-02 21:03:14 +01:00
|
|
|
lintOptions {
|
|
|
|
checkReleaseBuilds false
|
|
|
|
abortOnError false
|
|
|
|
}
|
|
|
|
|
2013-10-25 19:19:00 +04:00
|
|
|
defaultConfig {
|
2015-03-02 21:03:14 +01:00
|
|
|
applicationId "org.telegram.plus"
|
2013-10-25 19:19:00 +04:00
|
|
|
minSdkVersion 8
|
2014-11-07 00:34:47 +03:00
|
|
|
targetSdkVersion 21
|
2015-03-02 17:08:37 +01:00
|
|
|
versionCode 458
|
|
|
|
versionName "2.5.2.1"
|
2013-10-25 19:19:00 +04:00
|
|
|
}
|
|
|
|
}
|