build.gradle 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. apply plugin: 'com.android.library'
  2. android {
  3. compileSdkVersion 29
  4. buildToolsVersion "29.0.3"
  5. defaultConfig {
  6. minSdkVersion 19
  7. targetSdkVersion 29
  8. versionCode 1
  9. versionName "1.0"
  10. multiDexEnabled true
  11. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  12. javaCompileOptions {
  13. annotationProcessorOptions {
  14. arguments = [AROUTER_MODULE_NAME: project.getName()]
  15. }
  16. }
  17. }
  18. buildTypes {
  19. release {
  20. minifyEnabled false
  21. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  22. }
  23. }
  24. buildFeatures {
  25. dataBinding = true
  26. }
  27. }
  28. dependencies {
  29. implementation fileTree(dir: "libs", include: ["*.jar"])
  30. implementation 'androidx.appcompat:appcompat:1.3.1'
  31. implementation 'com.google.android.material:material:1.4.0'
  32. implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
  33. implementation project(path: ':AliyunVideoCommon')
  34. testImplementation 'junit:junit:4.12'
  35. androidTestImplementation 'androidx.test.ext:junit:1.1.1'
  36. androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
  37. implementation project(':KlcCommonView')
  38. implementation project(':KlcFans')
  39. implementation project(':KlcVideoCommon')
  40. implementation project(':KlcTrend')
  41. implementation project(':KlcShortVideo')
  42. implementation project(':KlcHome')
  43. implementation project(':KlcAnchorCenter')
  44. implementation project(':KlcMoney')
  45. implementation project(':KlcImJmessage')
  46. annotationProcessor 'com.alibaba:arouter-compiler:1.5.2'
  47. api 'com.alibaba:arouter-api:1.5.2'
  48. }