build.gradle 941 B

1234567891011121314151617181920212223242526272829303132
  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. api fileTree(dir: 'libs', include: ['*.jar'])
  22. api "androidx.constraintlayout:constraintlayout:1.1.3"
  23. api "androidx.recyclerview:recyclerview:1.2.1"
  24. api "com.google.code.gson:gson:2.8.6"
  25. def projects = this.rootProject.getAllprojects().stream().map { project -> project.name }.collect()
  26. api projects.contains("tuicore") ? project(':tuicore') : "com.tencent.liteav.tuikit:tuicore:latest.release"
  27. }