build.gradle 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. // +----------------------------------------------------------------------
  2. // | Created by Yunbao
  3. // +----------------------------------------------------------------------
  4. // | Copyright (c) 2013~2022 http://www.yunbaokj.com All rights reserved.
  5. // +----------------------------------------------------------------------
  6. // | Author: https://gitee.com/yunbaokji/
  7. // +----------------------------------------------------------------------
  8. // | Date: 2022-02-17
  9. // +----------------------------------------------------------------------
  10. apply plugin: 'com.android.library'
  11. android {
  12. compileSdkVersion rootProject.ext.android.compileSdkVersion
  13. buildToolsVersion rootProject.ext.android.buildToolsVersion
  14. defaultConfig {
  15. minSdkVersion rootProject.ext.android.minSdkVersion
  16. targetSdkVersion rootProject.ext.android.targetSdkVersion
  17. versionCode rootProject.ext.android.versionCode
  18. versionName rootProject.ext.android.versionName
  19. manifestPlaceholders = rootProject.ext.manifestPlaceholders
  20. ndk {
  21. abiFilters "armeabi-v7a", "arm64-v8a"
  22. }
  23. }
  24. aaptOptions {
  25. cruncherEnabled = false
  26. useNewCruncher = false
  27. }
  28. buildTypes {
  29. release {
  30. minifyEnabled false
  31. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  32. }
  33. }
  34. }
  35. repositories {
  36. flatDir {
  37. dirs 'libs', '../libs'
  38. }
  39. }
  40. dependencies {
  41. compile fileTree(include: ['*.jar'], dir: 'libs')
  42. compile rootProject.ext.dependencies["appcompat-v7"]
  43. compile rootProject.ext.dependencies["recyclerview-v7"]
  44. compile rootProject.ext.dependencies["cardview-v7"]
  45. compile rootProject.ext.dependencies["design"]
  46. compile rootProject.ext.dependencies["multidex"]
  47. compile files('../libs/commons-io-1.4.jar')
  48. //okHttp网络请求
  49. compile rootProject.ext.dependencies["okhttp"]
  50. //OkGo 是对okHttp的封装
  51. compile rootProject.ext.dependencies["okgo"]
  52. //OkGo上传下载扩展库
  53. compile rootProject.ext.dependencies["okserver"]
  54. //fastJson解析json
  55. compile rootProject.ext.dependencies["fastjson"]
  56. //eventbus事件总线
  57. compile rootProject.ext.dependencies["eventbus"]
  58. //使用Glide加载图片
  59. compile rootProject.ext.dependencies["glide"]
  60. //一个基于Glide的transformation库,拥有裁剪,着色,模糊,滤镜等多种转换效果
  61. compile rootProject.ext.dependencies["glide-transformations"]
  62. //带圆角,边框的的ImageView
  63. compile rootProject.ext.dependencies["roundedimageview"]
  64. //gif库,播放礼物gif用
  65. compile rootProject.ext.dependencies["gif-drawable"]
  66. //svga播放器
  67. compile rootProject.ext.dependencies["SVGAPlayer"]
  68. //七牛云存储
  69. compile rootProject.ext.dependencies["qiniu-sdk"]
  70. //微信sdk,支付登录分享
  71. compile rootProject.ext.dependencies["tencent-wechat-sdk"]
  72. //图片裁剪
  73. compile rootProject.ext.dependencies["ucrop"]
  74. //支付宝sdk
  75. compile files('libs/alipaySdk-20180601.jar')
  76. //下拉刷新上拉加载
  77. compile rootProject.ext.dependencies["smartRefreshLayout"]
  78. //ViewPager指示器
  79. compile rootProject.ext.dependencies["magicIndicator"]
  80. compile project(':mob')
  81. //轮播图
  82. compile rootProject.ext.dependencies["banner"]
  83. //鲁班
  84. compile rootProject.ext.dependencies["Luban"]
  85. //一个Picker控件,选择日期,城市用
  86. compile files('libs/AndroidPicker-1.5.6.jar')
  87. compile 'com.google.android:flexbox:1.0.0'
  88. compile 'com.squareup.picasso:picasso:2.5.2'
  89. //腾讯云sdk
  90. compile files('libs/liteavsdk.jar')
  91. }