apply plugin: 'com.android.library' android { compileSdkVersion 28 buildToolsVersion "28.0.3" defaultConfig { minSdkVersion 19 targetSdkVersion 31 } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } preRelease { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } } dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation "androidx.constraintlayout:constraintlayout:1.1.3" implementation "androidx.recyclerview:recyclerview:1.2.1" implementation "com.google.code.gson:gson:2.8.6" implementation "androidx.appcompat:appcompat:1.0.0" implementation "com.github.bumptech.glide:glide:4.12.0" implementation "de.hdodenhof:circleimageview:3.1.0" def projects = this.rootProject.getAllprojects().stream().map { project -> project.name }.collect() implementation projects.contains("tuicore") ? project(':tuicore') : "com.tencent.liteav.tuikit:tuicore:7.3.4358" implementation rootProject.getProperties().containsKey("liteavSdk") ? rootProject.ext.liteavSdk : "com.tencent.liteav:LiteAVSDK_TRTC:11.2.0.13154" implementation rootProject.getProperties().containsKey("roomEngineSdk") ? rootProject.ext.roomEngineSdk : "com.tencent.liteav.tuikit:tuiroomengine:1.3.3.11" }