apply plugin: 'com.android.library' android { compileSdkVersion compile_sdk_version buildToolsVersion build_tools_version defaultConfig { minSdkVersion min_sdk_version targetSdkVersion target_sdk_version versionCode version_code versionName verson_name testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" vectorDrawables.useSupportLibrary = true } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } buildTypes { release { minifyEnabled isReleaseMinify proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } } dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation fileTree(include: ['*.jar'], dir: 'libs/upload') implementation "com.android.support:appcompat-v7:27.1.1" implementation 'com.android.support:recyclerview-v7:27.1.1' api 'com.tencent.liteav:LiteAVSDK_Professional:latest.release' // api 'com.tencent.liteavsdk:LiteAVSDK_Smart:latest.release' // MLVB 需要依赖 okhttp 拦截器 implementation 'com.squareup.okhttp3:logging-interceptor:3.8.1' // MLVB 需要使用 gson 进行 json 解析 implementation 'com.google.code.gson:gson:2.3.1' // MLVB 需要依赖腾讯云 IM 服务 api 'com.tencent.imsdk:imsdk:4.5.45' // 弹幕功能需要依赖此库 implementation 'com.github.ctiao:dfm:0.4.4' // Demo 依赖的图片加载库 implementation 'com.github.bumptech.glide:glide:4.5.0' // 美颜面板 implementation project(':beauty') implementation 'org.greenrobot:eventbus:3.1.1' implementation 'com.badoo.mobile:android-weak-handler:1.1' // api project(':provider') }