apply plugin: 'com.android.library'

android {
    compileSdkVersion 27
    buildToolsVersion "27.0.3"
    flavorDimensions "prod"

    defaultConfig {
        minSdkVersion 16
        targetSdkVersion 27
        versionCode 1
        versionName "1.0"

//        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}

dependencies {
    //小米IM即时通讯
    compile fileTree(include: ['*.jar'], dir: 'libs/im')
    androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
        exclude group: 'com.android.support', module: 'support-annotations'
    })
    compile 'cn.jiguang.imui:messagelist:0.7.4'
    compile ('cn.jiguang.imui:chatinput:0.9.1@aar'){
//        exclude group:'view_chatinput'
    }
    compile 'pub.devrel:easypermissions:1.0.1'
    compile 'org.greenrobot:eventbus:3.0.0'
    implementation 'com.android.support:appcompat-v7:27.1.0'
    implementation 'com.android.support:design:27.1.0'
    implementation 'com.facebook.react:react-native:+'
    compile 'com.google.code.gson:gson:2.8.0'
    compile 'com.github.bumptech.glide:glide:4.6.1'
    testCompile 'junit:junit:4.12'
    api  project(path: ':ecpei-core')

}
