build.gradle 2.03 KB
Newer Older
1 2 3
apply plugin: 'com.android.application'

android {
4 5
    compileSdkVersion 23
    buildToolsVersion "23"
6 7

    defaultConfig {
8
        minSdkVersion 14
9
        targetSdkVersion 23
10 11
        versionCode 216
        versionName '1.0.43'
12 13
    }

Grigory Fedorov's avatar
Grigory Fedorov committed
14 15 16 17
    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_7
        targetCompatibility JavaVersion.VERSION_1_7
    }
18 19 20 21 22

    lintOptions {
        // problems with generated "applicationId" string resource
        disable 'MissingTranslation'
    }
23 24 25 26 27

    productFlavors {

        dev {
            applicationId "com.xabber.androiddev"
28
            resValue 'string', 'application_package', applicationId
29 30 31 32
        }

        beta {
            applicationId "com.xabber.android.beta"
33
            resValue 'string', 'application_package', applicationId
34 35
        }

36 37 38 39 40 41 42 43 44 45
        prod {
            applicationId "com.xabber.android"
            resValue 'string', 'application_package', applicationId
        }

        vip {
            applicationId "com.xabber.androidvip"
            resValue 'string', 'application_package', applicationId
        }

46
    }
47 48
}

49 50 51 52
repositories {
    mavenCentral()
}

53 54 55 56
ext {
    smackVersion = '4.1.3'
}

57
dependencies {
58 59 60
    compile 'com.android.support:design:23.0.0'
    compile 'com.android.support:appcompat-v7:23.0'
    compile 'com.android.support:support-v13:23.0.0'
61
    compile 'com.github.ksoichiro:android-observablescrollview:1.5.0'
62
    compile 'de.hdodenhof:circleimageview:1.2.2'
63
    compile 'com.melnykov:floatingactionbutton:1.2.0'
64
    compile 'dnsjava:dnsjava:2.1.7'
65
    compile 'com.github.bumptech.glide:glide:3.6.0'
66
    compile 'com.google.zxing:android-integration:3.1.0'
67
    compile 'com.jcraft:jzlib:1.0.7'
68

69 70 71
    compile "org.igniterealtime.smack:smack-android-extensions:$smackVersion"
    compile "org.igniterealtime.smack:smack-experimental:$smackVersion"
    compile "org.igniterealtime.smack:smack-tcp:$smackVersion"
72
    compile project('otr4j')
73
    compile project('MemorizingTrustManager')
74
    compile project('emojicon')
75 76

    compile 'com.soundcloud.android:android-crop:1.0.0@aar'
77
}