123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- apply plugin: 'com.android.library'
- android {
- compileSdkVersion 31
- defaultConfig {
- versionName "1.0"
- versionCode 1
- minSdkVersion 19
- targetSdkVersion 26
- }
- 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'
- }
- }
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_8
- targetCompatibility JavaVersion.VERSION_1_8
- }
- }
- dependencies {
- api fileTree(dir: 'libs', include: ['*.jar'])
- api 'androidx.appcompat:appcompat:1.3.1'
- api 'com.google.android.material:material:1.4.0'
- api 'androidx.recyclerview:recyclerview:1.2.1'
- api 'androidx.constraintlayout:constraintlayout:1.1.3'
- api "com.github.bumptech.glide:glide:4.12.0"
- def projects = this.rootProject.getAllprojects().stream().map { project -> project.name }.collect()
- println "all projects : {$projects}"
- if (projects.contains("tuicore")) {
- api project(':tuicore')
- } else {
- api "com.tencent.imsdk:imsdk-plus:7.3.4358 "
- api "com.tencent.liteav.tuikit:tuicore:1.1.24"
- }
- if (projects.contains("tuicallengine")) {
- api project(':tuicallengine')
- } else {
- api "com.google.code.gson:gson:2.9.1"
- api "com.tencent.liteav:LiteAVSDK_TRTC:11.1.0.13111"
- api 'com.tencent.liteav.tuikit:tuicallengine:1.7.0.460'
- }
- }
|