apply plugin: 'com.android.library'

android {

    compileSdkVersion rootProject.compileSdkVersion
    buildToolsVersion rootProject.buildToolsVersion

    defaultConfig {
        minSdkVersion rootProject.minSdkVersion
        targetSdkVersion rootProject.targetSdkVersion
        versionCode 1
        versionName "1.0"
    }

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

    lintOptions {
        abortOnError false
    }

    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }

}

dependencies {
    api fileTree(dir: 'libs', include: ['*.jar', '*.aar'])
    implementation androidLibraries.lifecycleExtensions
    implementation androidLibraries.androidCompatV4
    implementation androidLibraries.androidCompatV7
    implementation androidLibraries.androidAnnotations
    implementation androidLibraries.lifecycle
    implementation androidLibraries.lifecycleJava8
    implementation androidLibraries.lifecycleExtensions
    implementation thirdLibraries.rxJava
    implementation thirdLibraries.retrofit
    implementation thirdLibraries.retrofitConverterGson
    implementation thirdLibraries.okHttp
    implementation thirdLibraries.gson
    implementation thirdLibraries.retrofitRxJava2CallAdapter
    implementation thirdLibraries.timber
    api 'com.tencent.mm.opensdk:wechat-sdk-android-without-mta:5.1.6'
}
