build.gradle 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637
  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. preRelease {
  15. minifyEnabled false
  16. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  17. }
  18. }
  19. }
  20. dependencies {
  21. implementation fileTree(dir: 'libs', include: ['*.jar'])
  22. implementation "androidx.constraintlayout:constraintlayout:1.1.3"
  23. implementation "androidx.recyclerview:recyclerview:1.2.1"
  24. implementation "com.google.code.gson:gson:2.8.6"
  25. implementation "androidx.appcompat:appcompat:1.0.0"
  26. implementation "com.github.bumptech.glide:glide:4.12.0"
  27. implementation "de.hdodenhof:circleimageview:3.1.0"
  28. def projects = this.rootProject.getAllprojects().stream().map { project -> project.name }.collect()
  29. implementation projects.contains("tuicore") ? project(':tuicore') : "com.tencent.liteav.tuikit:tuicore:7.3.4358"
  30. implementation rootProject.getProperties().containsKey("liteavSdk") ? rootProject.ext.liteavSdk : "com.tencent.liteav:LiteAVSDK_TRTC:11.2.0.13154"
  31. implementation rootProject.getProperties().containsKey("roomEngineSdk") ? rootProject.ext.roomEngineSdk : "com.tencent.liteav.tuikit:tuiroomengine:1.3.3.11"
  32. }