build.gradle 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. plugins {
  2. id 'com.android.application'
  3. }
  4. android {
  5. namespace 'com.fgw.fgw'
  6. compileSdk 33
  7. defaultConfig {
  8. applicationId "com.fgw.fgw"
  9. minSdk 24
  10. targetSdk 33
  11. versionCode 19
  12. versionName "3.0.1"
  13. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  14. multiDexEnabled true
  15. ndk {
  16. abiFilters "armeabi-v7a", "arm64-v8a"
  17. }
  18. }
  19. buildTypes {
  20. release {
  21. //开启混淆
  22. minifyEnabled true
  23. //压缩优化
  24. zipAlignEnabled true
  25. // //移出无用资源
  26. // shrinkResources false
  27. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  28. }
  29. }
  30. compileOptions {
  31. sourceCompatibility JavaVersion.VERSION_1_8
  32. targetCompatibility JavaVersion.VERSION_1_8
  33. }
  34. }
  35. dependencies {
  36. implementation fileTree(include: ['*.jar', '*.aar'], dir: 'libs')
  37. implementation 'androidx.appcompat:appcompat:1.5.1'
  38. implementation 'com.google.android.material:material:1.6.1'
  39. testImplementation 'junit:junit:4.13.2'
  40. androidTestImplementation 'androidx.test.ext:junit:1.1.3'
  41. androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
  42. //动态权限申请框架:https://github.com/getActivity/XXPermissions
  43. implementation 'com.github.getActivity:XXPermissions:20.0'
  44. //glide图片加载:https://github.com/bumptech/glide
  45. implementation 'com.github.bumptech.glide:glide:4.15.1'
  46. annotationProcessor 'com.github.bumptech.glide:compiler:4.15.1'
  47. //Easyhttp:https://github.com/getActivity/EasyHttp
  48. implementation 'com.github.getActivity:EasyHttp:12.8'
  49. //okhttp3网络请求框架:https://github.com/square/okhttp
  50. implementation 'com.squareup.okhttp3:okhttp:5.0.0-alpha.11'
  51. //提示框布局
  52. implementation 'androidx.cardview:cardview:1.0.0'
  53. //图片圆角:https://github.com/hdodenhof/CircleImageView
  54. implementation 'de.hdodenhof:circleimageview:2.1.0'
  55. //沉浸式状态栏ImmersionBar:https://github.com/gyf-dev/ImmersionBar
  56. implementation 'com.geyifeng.immersionbar:immersionbar:3.2.2'
  57. implementation 'com.readystatesoftware.systembartint:systembartint:1.0.3'
  58. //角标绘制:https://github.com/bingoogolapple/BGABadgeView-Android
  59. implementation 'com.github.bingoogolapple.BGABadgeView-Android:api:1.2.0'
  60. annotationProcessor 'com.github.bingoogolapple.BGABadgeView-Android:compiler:1.2.0'
  61. //标题栏:https://github.com/getActivity/TitleBar
  62. implementation 'com.github.getActivity:TitleBar:10.0'
  63. //zip:https://github.com/srikanth-lingala/zip4jw
  64. implementation 'net.lingala.zip4j:zip4j:2.10.0'
  65. //QMUI:https://github.com/Tencent/QMUI_Android
  66. implementation 'com.qmuiteam:qmui:2.0.0-alpha10'
  67. //吐司框架:https://github.com/getActivity/Toaster
  68. implementation 'com.github.getActivity:Toaster:12.2'
  69. //MMKV本地存储:https://github.com/Tencent/MMKV
  70. implementation 'com.tencent:mmkv-static:1.3.3'
  71. //xpopup:https://github.com/li-xiaojun/XPopup
  72. implementation('com.github.li-xiaojun:XPopup:2.10.0') {
  73. exclude group: "com.davemorrissey.labs", module: "subsampling-scale-image-view-androidx"
  74. }
  75. //ShapeView:https://github.com/getActivity/ShapeView
  76. implementation 'com.github.getActivity:ShapeView:9.0'
  77. //Logger日志框架:https://github.com/orhanobut/logger
  78. implementation 'com.orhanobut:logger:2.2.0'
  79. //腾讯libpag的核心库
  80. implementation 'com.tencent.tav:libpag:4.2.81'
  81. //微信sdk:https://open.weixin.qq.com
  82. api 'com.tencent.mm.opensdk:wechat-sdk-android:6.8.18'
  83. }