12345678910111213141516171819202122232425262728293031323334 |
- apply plugin: 'com.android.library'
- android {
- compileSdkVersion 28
- buildToolsVersion "28.0.3"
- defaultConfig {
- minSdkVersion 19
- targetSdkVersion 26
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
- }
- }
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_8
- targetCompatibility JavaVersion.VERSION_1_8
- }
- }
- dependencies {
- implementation fileTree(include: ['*.jar'], dir: 'libs')
- implementation "androidx.appcompat:appcompat:1.0.0"
- implementation "androidx.recyclerview:recyclerview:1.0.0"
- implementation "com.google.android.material:material:1.0.0"
- implementation "de.hdodenhof:circleimageview:3.1.0"
-
- def projects = this.rootProject.getAllprojects().stream().map { project -> project.name }.collect()
- api projects.contains("tuicore") ? project(':tuicore') : "com.tencent.liteav.tuikit:tuicore:latest.release"
- api rootProject.getProperties().containsKey("liteavSdk") ? rootProject.ext.liteavSdk : "com.tencent.liteav:LiteAVSDK_TRTC:latest.release"
- }
|