Skip to content

Commit 106356e

Browse files
author
Grigory Fedorov
committed
Merge branch 'release/1.0.168'
2 parents 7bdd909 + e49a034 commit 106356e

File tree

1,083 files changed

+24778
-21607
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,083 files changed

+24778
-21607
lines changed

.gitmodules

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
[submodule "xabber/otr4j"]
2-
path = xabber/otr4j
3-
url = https://github.com/otr4j/otr4j.git
41
[submodule "xabber/MemorizingTrustManager"]
52
path = xabber/MemorizingTrustManager
6-
url = https://github.com/redsolution/MemorizingTrustManager.git
3+
url = https://github.com/ge0rg/MemorizingTrustManager.git

.travis.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
language: android
2+
android:
3+
components:
4+
- platform-tools
5+
- tools
6+
- build-tools-25.0.2
7+
- build-tools-25.0.0
8+
- android-25
9+
- android-23
10+
- extra-android-m2repository
11+
- extra-google-m2repository
12+
13+
licenses:
14+
- '.+'
15+
16+
install:
17+
# Check install section: http://docs.travis-ci.com/user/build-configuration/#install
18+
# If you'd like to skip the install stage entirely, set it to true and nothing will be run.
19+
- true
20+
21+
script:
22+
# By default Travis-ci executes './gradlew build connectedCheck' if no 'script:' section found.
23+
- ./gradlew build
24+
25+
26+
env:
27+
- GRADLE_OPTS="-Xmx1024m -XX:MaxPermSize=1024m"
28+
29+
jdk:
30+
- oraclejdk8

README.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
<a href="https://play.google.com/store/apps/details?id=com.xabber.android.beta"><img src="https://play.google.com/intl/en_us/badges/images/generic/en-play-badge.png" height="72"></a>
2+
<a href="https://f-droid.org/repository/browse/?fdfilter=xabber&fdid=com.xabber.androiddev"><img src="https://f-droid.org/badge/get-it-on.png" height="72"></a>
3+
## Xabber - XMPP client for Android
4+
5+
Open source Jabber (XMPP) client with multi-account support, clean and simple interface.
6+
Being both free (as in freedom!) and ad-free, [Xabber](https://www.xabber.com/) is designed to be the best Jabber client for Android.
7+
8+
## Build instructions [![Build Status](https://travis-ci.org/redsolution/xabber-android.svg?branch=develop)](https://travis-ci.org/redsolution/xabber-android)
9+
10+
Xabber uses Gradle build system. The only specific thing is git submodule for ge0rg/MemorizingTrustManager library. To make it work use following commands:
11+
12+
```
13+
git submodule init
14+
git submodule update
15+
```
16+
And MemorizingTrustManager would be cloned to your local repository.
17+
18+
## Translations [![Crowdin](https://d322cqt584bo4o.cloudfront.net/xabber/localized.svg)](https://crowdin.com/project/xabber)
19+
20+
We use crowdin.com as our translation system.
21+
All related resources are automatically generated from files got with crowdin.com.
22+
If you want to update any translation go to Xabber page https://crowdin.com/project/xabber and request to join our translation team
23+
Please don't create pull requests with translation fixes as any changes will be overwritten with the next update from crowdin.com.
24+
25+
## Donate
26+
27+
If you want to support Xabber development you can buy [Xabber VIP](https://play.google.com/store/apps/details?id=com.xabber.androidvip) (it is the same as regular stable version of Xabber except for gold coin on logo) or send payment via Paypal or Bitcoin `1Dvexs9YQ2bab1ZNk2eSuvHxyZ2QUedzug`
28+
29+
[![Donate with PayPal](https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=G9AYTUSXCWRVL)
30+
31+
## Feedback
32+
33+
info [at] xabber.com
34+
35+
<a href="https://twitter.com/xabber_xmpp">Twitter</a>

README.rst

Lines changed: 0 additions & 59 deletions
This file was deleted.

build.gradle

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,18 @@ buildscript {
44
jcenter()
55
}
66
dependencies {
7-
classpath 'com.android.tools.build:gradle:1.5.0'
7+
classpath 'com.android.tools.build:gradle:2.3.1'
8+
classpath "io.realm:realm-gradle-plugin:3.0.0"
9+
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
10+
classpath 'com.frogermcs.androiddevmetrics:androiddevmetrics-plugin:0.4'
811
}
912
}
1013

1114
allprojects {
1215
repositories {
1316
jcenter()
17+
maven { url "https://jitpack.io" }
18+
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
19+
maven { url 'https://igniterealtime.org/repo' }
1420
}
1521
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Wed Apr 10 15:27:10 PDT 2013
1+
#Wed Mar 15 19:08:23 YEKT 2017
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-2.8-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip

settings.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
include ':xabber'
2-
include ':xabber:otr4j'
32
include ':xabber:MemorizingTrustManager'
43
include ':xabber:emojicon'

xabber/build.gradle

Lines changed: 63 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,83 +1,116 @@
11
apply plugin: 'com.android.application'
2+
apply plugin: 'com.neenbedankt.android-apt'
3+
apply plugin: 'realm-android'
4+
apply plugin: 'com.frogermcs.androiddevmetrics'
25

36
android {
4-
compileSdkVersion 23
5-
buildToolsVersion "23.0.2"
7+
compileSdkVersion 25
8+
buildToolsVersion "25.0.2"
69

710
defaultConfig {
8-
minSdkVersion 14
9-
targetSdkVersion 23
10-
versionCode 247
11-
versionName '1.0.74'
12-
}
13-
14-
compileOptions {
15-
sourceCompatibility JavaVersion.VERSION_1_7
16-
targetCompatibility JavaVersion.VERSION_1_7
11+
minSdkVersion 15
12+
targetSdkVersion 25
13+
versionCode 340
14+
versionName '1.0.168'
1715
}
1816

1917
lintOptions {
2018
// problems with generated "applicationId" string resource
2119
disable 'MissingTranslation'
20+
disable 'InvalidPackage'
21+
22+
abortOnError false
2223
}
2324

24-
dexOptions {
25-
incremental true
25+
subprojects {
26+
afterEvaluate {
27+
if (getPlugins().hasPlugin('android') ||
28+
getPlugins().hasPlugin('android-library')) {
29+
30+
configure(android.lintOptions) {
31+
abortOnError false
32+
33+
}
34+
}
35+
}
2636
}
2737

2838
productFlavors {
2939

3040
dev {
3141
applicationId "com.xabber.androiddev"
3242
resValue 'string', 'application_package', applicationId
43+
multiDexEnabled true
3344
}
3445

3546
beta {
3647
applicationId "com.xabber.android.beta"
3748
resValue 'string', 'application_package', applicationId
49+
multiDexEnabled true
3850
}
3951

4052
prod {
4153
applicationId "com.xabber.android"
4254
resValue 'string', 'application_package', applicationId
55+
multiDexEnabled true
4356
}
4457

4558
vip {
4659
applicationId "com.xabber.androidvip"
4760
resValue 'string', 'application_package', applicationId
61+
multiDexEnabled true
4862
}
4963

5064
}
5165

5266
buildTypes {
5367
release {
54-
minifyEnabled false
68+
minifyEnabled true
69+
shrinkResources true
5570
proguardFiles getDefaultProguardFile('proguard-android.txt'),
5671
'proguard-rules.pro'
5772
}
5873
}
74+
75+
splits {
76+
abi {
77+
enable true
78+
reset()
79+
include 'armeabi', 'armeabi-v7a', 'arm64-v8a', 'mips', 'x86', 'x86_64'
80+
81+
universalApk true
82+
}
83+
}
5984
}
6085

6186
ext {
62-
smackVersion = '4.1.5'
87+
smackVersion = '4.2.1-SNAPSHOT'
88+
supportVersion = '25.3.1'
6389
}
6490

6591
dependencies {
66-
compile 'com.android.support:design:23.1.1'
67-
compile 'com.android.support:appcompat-v7:23.1.1'
68-
compile 'com.android.support:support-v13:23.1.1'
69-
compile 'de.hdodenhof:circleimageview:1.2.2'
70-
compile 'com.melnykov:floatingactionbutton:1.2.0'
71-
compile 'com.github.bumptech.glide:glide:3.6.1'
72-
compile 'com.google.zxing:android-integration:3.1.0'
73-
compile 'com.loopj.android:android-async-http:1.4.9'
74-
compile 'com.soundcloud.android:android-crop:1.0.1@aar'
75-
compile 'io.realm:realm-android:0.85.0'
76-
77-
compile "org.igniterealtime.smack:smack-android-extensions:$smackVersion"
78-
compile "org.igniterealtime.smack:smack-experimental:$smackVersion"
79-
compile "org.igniterealtime.smack:smack-tcp:$smackVersion"
80-
compile project('otr4j')
8192
compile project('MemorizingTrustManager')
8293
compile project('emojicon')
94+
95+
compile "org.igniterealtime.smack:smack-android-extensions:4.2.1-20170404.010458-5"
96+
compile "org.igniterealtime.smack:smack-experimental:4.2.1-20170404.010520-5"
97+
compile "org.igniterealtime.smack:smack-tcp:4.2.1-20170404.010559-5"
98+
99+
compile "com.android.support:design:$supportVersion"
100+
compile "com.android.support:support-v13:$supportVersion"
101+
102+
compile 'org.jitsi:org.otr4j:0.22'
103+
compile 'com.google.zxing:android-integration:3.3.0'
104+
105+
compile 'com.github.bumptech.glide:glide:3.7.0'
106+
compile 'com.squareup.okhttp3:okhttp:3.5.0'
107+
compile 'org.greenrobot:eventbus:3.0.0'
108+
109+
compile 'com.soundcloud.android:android-crop:1.0.1@aar'
110+
compile 'de.hdodenhof:circleimageview:2.1.0'
111+
compile 'com.melnykov:floatingactionbutton:1.3.0'
112+
}
113+
114+
configurations {
115+
all*.exclude group: 'xpp3', module: 'xpp3'
83116
}

xabber/emojicon/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
apply plugin: 'com.android.library'
22

33
android {
4-
compileSdkVersion 23
5-
buildToolsVersion "23.0.2"
4+
compileSdkVersion 25
5+
buildToolsVersion "25.0.2"
66

77
defaultConfig {
88
minSdkVersion 14
9-
targetSdkVersion 23
9+
targetSdkVersion 25
1010
}
1111

1212
buildTypes {
@@ -18,5 +18,5 @@ android {
1818
}
1919

2020
dependencies {
21-
compile 'com.android.support:support-v4:23.1.1'
21+
compile "com.android.support:support-v13:25.3.0"
2222
}

0 commit comments

Comments
 (0)