build.gradle 1017 B

123456789101112131415161718192021222324252627282930
  1. apply plugin: 'com.android.library'
  2. android {
  3. compileSdkVersion 28
  4. buildToolsVersion "28.0.3"
  5. defaultConfig {
  6. minSdkVersion 19
  7. targetSdkVersion 26
  8. }
  9. buildTypes {
  10. release {
  11. minifyEnabled false
  12. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  13. }
  14. }
  15. }
  16. dependencies {
  17. api fileTree(dir: 'libs', include: ['*.jar'])
  18. api 'com.tencent.mediacloud:TencentEffect_S1-04:2.4.2.324'
  19. api "androidx.constraintlayout:constraintlayout:1.1.3"
  20. api 'com.google.android.material:material:1.4.0'
  21. api "com.google.code.gson:gson:2.8.6"
  22. def projects = this.rootProject.getAllprojects().stream().map { project -> project.name }.collect()
  23. api projects.contains("tuicore") ? project(':tuicore') : "com.tencent.liteav.tuikit:tuicore:latest.release"
  24. api rootProject.getProperties().containsKey("liteavSdk") ? rootProject.ext.liteavSdk : "com.tencent.liteav:LiteAVSDK_TRTC:latest.release"
  25. }