build.gradle 1.3 KB

123456789101112131415161718192021222324252627282930313233
  1. apply plugin: 'com.android.library'
  2. android {
  3. compileSdkVersion 28
  4. buildToolsVersion "28.0.3"
  5. defaultConfig {
  6. minSdkVersion 19
  7. targetSdkVersion 31
  8. }
  9. buildTypes {
  10. release {
  11. minifyEnabled false
  12. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  13. }
  14. }
  15. }
  16. dependencies {
  17. implementation fileTree(dir: 'libs', include: ['*.jar'])
  18. implementation "androidx.constraintlayout:constraintlayout:1.1.3"
  19. implementation "androidx.recyclerview:recyclerview:1.2.1"
  20. implementation "com.google.code.gson:gson:2.8.6"
  21. implementation "androidx.appcompat:appcompat:1.0.0"
  22. implementation "com.github.bumptech.glide:glide:4.12.0"
  23. implementation "de.hdodenhof:circleimageview:3.1.0"
  24. def projects = this.rootProject.getAllprojects().stream().map { project -> project.name }.collect()
  25. implementation projects.contains("tuicore") ? project(':tuicore') : "com.tencent.liteav.tuikit:tuicore:7.3.4358"
  26. implementation rootProject.getProperties().containsKey("liteavSdk") ? rootProject.ext.liteavSdk : "com.tencent.liteav:LiteAVSDK_TRTC:11.2.0.13154"
  27. implementation rootProject.getProperties().containsKey("roomEngineSdk") ? rootProject.ext.roomEngineSdk : "com.tencent.liteav.tuikit:tuiroomengine:1.3.3.11"
  28. }