build.gradle 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209
  1. apply plugin: 'com.android.library'
  2. apply plugin: 'android-aspectjx'
  3. android {
  4. compileSdkVersion 29
  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. debug {
  24. minifyEnabled false
  25. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  26. }
  27. }
  28. //.so文件引用
  29. sourceSets {
  30. main {
  31. jniLibs.srcDirs = ['libs']
  32. }
  33. }
  34. buildFeatures {
  35. dataBinding = true
  36. }
  37. compileOptions {
  38. sourceCompatibility JavaVersion.VERSION_1_8
  39. targetCompatibility JavaVersion.VERSION_1_8
  40. }
  41. // lintOptions {
  42. // disable 'GoogleAppIndexingWarning'//忽略 Google Search(放于每个module的build.gradle文件中)
  43. // }
  44. }
  45. repositories {
  46. flatDir {
  47. dirs 'libs', '../libs'
  48. }
  49. }
  50. configurations {
  51. all*.exclude group: 'com.android.support', module: 'support-v13'
  52. }
  53. dependencies {
  54. implementation fileTree(include: ['*.jar'], dir: 'libs')
  55. implementation 'androidx.appcompat:appcompat:1.3.1'
  56. testImplementation 'junit:junit:4.12'
  57. androidTestImplementation 'androidx.test:runner:1.2.0'
  58. androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
  59. api 'com.android.support:appcompat-v7:29.0.0'
  60. api 'com.android.support:support-v4:29.0.0'
  61. api 'com.android.support:recyclerview-v7:29.0.0'
  62. api 'com.android.support:cardview-v7:29.0.0'
  63. api 'com.android.support:design:29.0.0'
  64. api 'com.android.support:support-annotations:28.0.0'
  65. api 'com.android.support.constraint:constraint-layout:2.0.1'
  66. api 'androidx.viewpager2:viewpager2:1.1.0-alpha01'
  67. api project(':libIm')
  68. api project(':KlcLiveCloud')
  69. api project(':libStorage')
  70. api project(':libCamera')
  71. //支付宝sdk
  72. api files('libs/alipaySdk-20180601.jar')
  73. //openInstall
  74. api files('libs/OpenInstall_v2.6.1.jar')
  75. //二维码生成
  76. api 'com.google.zxing:core:3.4.1'
  77. //状态栏工具类(实现沉浸式状态栏/变色状态栏) https://jaeger.itscoder.com/android/2016/03/27/statusbar-util.html
  78. api 'com.jaeger.statusbarutil:library:1.5.1'
  79. //fastJson解析json
  80. api 'com.alibaba:fastjson:1.2.68'
  81. //TiUi中有使用
  82. api 'com.google.code.gson:gson:2.8.5'
  83. //Retrofit
  84. api 'com.squareup.retrofit2:retrofit:2.5.0'
  85. //OkHttp
  86. api 'com.squareup.okhttp3:okhttp:3.14.9'
  87. api 'com.squareup.okhttp3:logging-interceptor:3.14.4'
  88. //RxAndroid
  89. api 'io.reactivex.rxjava2:rxandroid:2.1.1'
  90. //RxJava
  91. api 'io.reactivex.rxjava2:rxjava:2.2.19'
  92. api 'com.trello.rxlifecycle2:rxlifecycle:2.2.2'
  93. api 'com.trello.rxlifecycle2:rxlifecycle-android:2.2.2'
  94. api 'com.trello.rxlifecycle2:rxlifecycle-components:2.2.2'
  95. //Google AAC
  96. api 'android.arch.lifecycle:extensions:1.1.1'
  97. //使用Glide加载图片
  98. api 'com.github.bumptech.glide:glide:4.12.0'
  99. //带圆角,边框的的ImageView
  100. api 'com.makeramen:roundedimageview:2.3.0'
  101. annotationProcessor 'com.github.bumptech.glide:compiler:4.12.0'
  102. api 'com.github.bumptech.glide:okhttp3-integration:4.9.0'
  103. //查看大图,ImagePreview,https://github.com/SherlockGougou/BigImageViewPager
  104. api 'com.github.SherlockGougou:BigImageViewPager:v4_4.0.2'
  105. //一个基于Glide的transformation库,拥有裁剪,着色,模糊,滤镜等多种转换效果
  106. api 'jp.wasabeef:glide-transformations:4.1.0'
  107. //腾讯bugly
  108. api 'com.tencent.bugly:crashreport:3.4.4'
  109. api 'com.tencent.bugly:nativecrashreport:3.9.2'
  110. // api 'com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.22'
  111. api 'com.lzy.net:okgo:3.0.4'
  112. // 刷新布局控件
  113. api 'com.scwang.smartrefresh:SmartRefreshLayout:1.1.0'
  114. api 'com.scwang.smartrefresh:SmartRefreshHeader:1.1.0'
  115. //gif库,播放礼物gif用
  116. api 'pl.droidsonroids.gif:android-gif-drawable:1.2.15'
  117. //svga 直播礼物动画
  118. api 'com.github.yyued:SVGAPlayer-Android:2.5.4'
  119. //图片裁剪库
  120. api 'com.github.yalantis:ucrop:2.2.6'
  121. //性别选择器
  122. api 'com.contrarywind:wheelview:4.0.9'
  123. api 'com.contrarywind:Android-PickerView:4.1.6'
  124. //banner
  125. api 'com.bigkoo:convenientbanner:2.0.5'
  126. //AOP
  127. api 'org.aspectj:aspectjrt:1.9.6'
  128. //拼音解析
  129. implementation 'com.belerweb:pinyin4j:2.5.1'
  130. //微信sdk,支付登录分享
  131. api 'com.tencent.mm.opensdk:wechat-sdk-android-without-mta:6.8.0'
  132. //ARouter
  133. annotationProcessor 'com.alibaba:arouter-compiler:1.5.2'
  134. api 'com.alibaba:arouter-api:1.5.2'
  135. //标签选择器
  136. api 'com.github.donkingliang:LabelsView:1.5.0'
  137. api 'com.github.hackware1993:MagicIndicator:1.5.0'
  138. //极光
  139. api 'cn.jiguang.sdk:jcore:2.4.2'
  140. api 'cn.jiguang.sdk:jverification:2.7.4'
  141. // api 'cn.jiguang.sdk:jmessage:2.9.2'
  142. // api 'cn.jiguang.sdk:jpush:3.7.0'
  143. api 'com.danikula:videocache:2.7.1'
  144. //列表动画
  145. api 'jp.wasabeef:recyclerview-animators:3.0.0'
  146. //recyclerview
  147. api 'com.jude:easyrecyclerview:4.4.2'
  148. //AutoFitTextView自适应文本控件
  149. api 'me.grantland:autofittextview:0.2.1'
  150. //约束布局
  151. api 'androidx.constraintlayout:constraintlayout:2.1.1'
  152. //云存储
  153. api 'com.qiniu:qiniu-android-sdk:7.3.15'
  154. implementation 'com.qiniu:qiniu-java-sdk:7.2.29'
  155. api 'com.qcloud.cos:cos-android:5.7.9'
  156. api 'com.aliyun.dpa:oss-android-sdk:2.9.11'
  157. //EventBus
  158. api 'org.greenrobot:eventbus:3.2.0'
  159. //RecyclerView左滑删除效果
  160. api 'com.github.WangcWj:WeSwipe:1.0.1'
  161. //移动安全联盟,获取OAID信息
  162. api(name: 'oaid_sdk_1.0.25', ext: 'aar')
  163. //添加google支付依赖包
  164. implementation "com.android.billingclient:billing:6.0.1"
  165. implementation 'com.google.guava:guava:31.1-android'
  166. }