a4e9947d42
- Added option to enable/disable infinite swipe between tabs - Added new menu Plus and moved there all additional Plus features - Added option to show/hide direct share button in any chat - Added switch to use direct share without quoting sender - Added date indicator toast in chat - Added current download/upload size in chat screen - Added sort options (default/unread) to all tabs - Added different options in groups/supergroups for admins when user avatar is clicked in chat screen: ‘Show profile’, ‘Delete from group’ and ‘Set as admin’ - Added option to remove from admin list if user is already an admin - Added ‘Mark as read’ for individual chats and ‘Mark all as read’ for every tab - Added option in Plus settings to show username instead of mobile number in menu - Bug fixes
97 lines
2.4 KiB
Groovy
97 lines
2.4 KiB
Groovy
apply plugin: 'com.android.application'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
compile 'com.android.support:support-v4:23.1.+'
|
|
compile "com.google.android.gms:play-services-gcm:8.4.0"
|
|
compile "com.google.android.gms:play-services-maps:8.4.0"
|
|
compile 'net.hockeyapp.android:HockeySDK:3.6.+'
|
|
compile 'com.googlecode.mp4parser:isoparser:1.0.+'
|
|
}
|
|
|
|
android {
|
|
compileSdkVersion 23
|
|
buildToolsVersion '23.0.2'
|
|
|
|
useLibrary 'org.apache.http.legacy'
|
|
//defaultConfig.applicationId = "org.telegram.messenger"
|
|
defaultConfig.applicationId = "org.telegram.plus"
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_7
|
|
targetCompatibility JavaVersion.VERSION_1_7
|
|
}
|
|
|
|
signingConfigs {
|
|
debug {
|
|
storeFile file("config/debug.keystore")
|
|
//storeFile file("config/release.keystore")
|
|
//storePassword RELEASE_STORE_PASSWORD
|
|
//keyAlias RELEASE_KEY_ALIAS
|
|
//keyPassword RELEASE_KEY_PASSWORD
|
|
}
|
|
|
|
release {
|
|
storeFile file("config/release.keystore")
|
|
storePassword RELEASE_STORE_PASSWORD
|
|
keyAlias RELEASE_KEY_ALIAS
|
|
keyPassword RELEASE_KEY_PASSWORD
|
|
}
|
|
}
|
|
|
|
buildTypes {
|
|
debug {
|
|
debuggable true
|
|
jniDebuggable true
|
|
signingConfig signingConfigs.debug
|
|
applicationIdSuffix ".beta"
|
|
}
|
|
|
|
release {
|
|
debuggable false
|
|
jniDebuggable false
|
|
//signingConfig signingConfigs.release
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
|
|
foss {
|
|
debuggable false
|
|
jniDebuggable false
|
|
signingConfig signingConfigs.release
|
|
}
|
|
}
|
|
|
|
sourceSets.main {
|
|
jniLibs.srcDir 'libs'
|
|
jni.srcDirs = [] //disable automatic ndk-build call
|
|
}
|
|
|
|
sourceSets.debug {
|
|
manifest.srcFile 'config/debug/AndroidManifest.xml'
|
|
}
|
|
|
|
sourceSets.release {
|
|
manifest.srcFile 'config/release/AndroidManifest.xml'
|
|
}
|
|
|
|
sourceSets.foss {
|
|
manifest.srcFile 'config/foss/AndroidManifest.xml'
|
|
}
|
|
|
|
lintOptions {
|
|
checkReleaseBuilds false
|
|
abortOnError false
|
|
}
|
|
|
|
defaultConfig {
|
|
minSdkVersion 9
|
|
targetSdkVersion 23
|
|
versionCode 736
|
|
versionName "3.4.2.5"
|
|
}
|
|
}
|