build.gradle 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. plugins {
  2. id 'kotlin-kapt'
  3. id 'org.jetbrains.kotlin.android'
  4. }
  5. apply from: '../common.gradle'
  6. android{
  7. sourceSets {
  8. main {
  9. jniLibs.srcDirs = ['libs']
  10. }
  11. }
  12. }
  13. dependencies {
  14. // ------------------------------基础库-------------------------------------
  15. api 'androidx.core:core-ktx:1.8.0'
  16. api 'androidx.appcompat:appcompat:1.3.0'
  17. api 'com.google.android.material:material:1.6.1'
  18. api 'androidx.constraintlayout:constraintlayout:2.1.3'
  19. // ------------------------------网络请求-------------------------------------
  20. api 'com.github.liangjingkanji:Net:3.5.1'
  21. api 'com.squareup.okhttp3:okhttp:4.10.0'
  22. api 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4'
  23. api 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4'
  24. api "com.github.liangjingkanji:BRV:1.3.82" // 提供自动分页/缺省页/自动下拉刷新功能
  25. // ------------------------------JSON解析-------------------------------------
  26. // JSON序列化库, 首选推荐使用
  27. api "org.jetbrains.kotlinx:kotlinx-serialization-json:1.3.3"
  28. // ------------------------------数据库-------------------------------------
  29. api 'androidx.room:room-common:2.4.3'
  30. api 'androidx.room:room-runtime:2.4.3'
  31. implementation files('libs/commons-lang3-3.12.0.jar')
  32. kapt "androidx.room:room-compiler:2.4.3"
  33. // ------------------------------优化策略-------------------------------------
  34. //bugLy日志收集
  35. api 'com.tencent.bugly:crashreport:latest.release'
  36. //内存泄露检测
  37. api 'com.github.bzcoder:blockcanarycompat-android:0.0.4'
  38. // ------------------------------模块化框架-------------------------------------
  39. api 'com.alibaba:arouter-api:1.5.2'
  40. // ------------------------------其他库-------------------------------------
  41. api "com.android.support:multidex:1.0.3"
  42. //EventBus
  43. api 'org.greenrobot:eventbus:3.2.0'
  44. api 'com.github.liangjingkanji:StatusBar:2.0.2' // 透明状态栏
  45. api 'com.tencent:mmkv-static:1.2.10'
  46. api 'com.blankj:utilcodex:1.31.0'
  47. api 'com.github.smarxpan:NotchScreenTool:0.0.1'
  48. // api "io.coil-kt:coil:2.2.1" //图片加载
  49. api "com.youth.banner:banner:2.1.0"
  50. api 'com.google.android.flexbox:flexbox:3.0.0'
  51. api 'com.yanzhenjie:permission:2.0.3'
  52. api 'io.github.azhon:appupdate:4.2.4'
  53. api 'cn.aigestudio.wheelpicker:WheelPicker:1.1.3'
  54. //------------------------------业务功能库-------------------------------------
  55. api files('libs/android-serialport-2.1.2.aar')
  56. api files('libs/cofar-cooking-device-sdk-0.0.1-SNAPSHOT.jar')
  57. api files('libs/commons-lang3-3.12.0.jar')
  58. api files('libs/commons-beanutils-1.9.4.jar')
  59. api 'com.github.princekin-f:EasyFloat:2.0.4'
  60. api 'de.hdodenhof:circleimageview:3.1.0'
  61. api 'com.google.zxing:core:3.3.3'
  62. //屏幕适配
  63. api "me.jessyan:autosize:1.2.1"
  64. api 'com.github.bumptech.glide:glide:4.12.0'
  65. api 'com.google.code.gson:gson:2.8.9'
  66. }