build.gradle 1.6 KB

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