build.gradle 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  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. compileOptions {
  16. sourceCompatibility JavaVersion.VERSION_1_8
  17. targetCompatibility JavaVersion.VERSION_1_8
  18. }
  19. }
  20. dependencies {
  21. implementation 'androidx.appcompat:appcompat:1.3.1'
  22. implementation 'com.google.android.material:material:1.4.0'
  23. implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
  24. implementation "com.airbnb.android:lottie:4.2.0"
  25. api "de.hdodenhof:circleimageview:3.1.0"
  26. api "com.google.code.gson:gson:2.8.6"
  27. api "com.github.bumptech.glide:glide:4.12.0"
  28. def projects = this.rootProject.getAllprojects().stream().map { project -> project.name }.collect()
  29. api projects.contains("tuicore") ? project(':tuicore') : "com.tencent.liteav.tuikit:tuicore:latest.release"
  30. }