plugins { id 'com.android.application' } android { namespace 'com.hbc.hbc' compileSdk 33 defaultConfig { applicationId "com.hbc.hbc" minSdk 24 targetSdk 33 versionCode 80 versionName "4.2.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" multiDexEnabled true ndk { abiFilters "armeabi-v7a", "arm64-v8a" } } buildTypes { release { //开启混淆 minifyEnabled true //压缩优化 zipAlignEnabled true // //移出无用资源 // shrinkResources false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } } dependencies { implementation fileTree(include: ['*.jar', '*.aar'], dir: 'libs') implementation 'androidx.appcompat:appcompat:1.5.1' implementation 'com.google.android.material:material:1.6.1' testImplementation 'junit:junit:4.13.2' androidTestImplementation 'androidx.test.ext:junit:1.1.3' androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0' //动态权限申请框架:https://github.com/getActivity/XXPermissions implementation 'com.github.getActivity:XXPermissions:20.0' //glide图片加载:https://github.com/bumptech/glide implementation 'com.github.bumptech.glide:glide:4.15.1' annotationProcessor 'com.github.bumptech.glide:compiler:4.15.1' //Easyhttp:https://github.com/getActivity/EasyHttp implementation 'com.github.getActivity:EasyHttp:12.8' //okhttp3网络请求框架:https://github.com/square/okhttp implementation 'com.squareup.okhttp3:okhttp:5.0.0-alpha.11' //提示框布局 implementation 'androidx.cardview:cardview:1.0.0' //图片圆角:https://github.com/hdodenhof/CircleImageView implementation 'de.hdodenhof:circleimageview:2.1.0' //沉浸式状态栏ImmersionBar:https://github.com/gyf-dev/ImmersionBar implementation 'com.geyifeng.immersionbar:immersionbar:3.2.2' implementation 'com.readystatesoftware.systembartint:systembartint:1.0.3' //角标绘制:https://github.com/bingoogolapple/BGABadgeView-Android implementation 'com.github.bingoogolapple.BGABadgeView-Android:api:1.2.0' annotationProcessor 'com.github.bingoogolapple.BGABadgeView-Android:compiler:1.2.0' //标题栏:https://github.com/getActivity/TitleBar implementation 'com.github.getActivity:TitleBar:10.0' //zip:https://github.com/srikanth-lingala/zip4jw implementation 'net.lingala.zip4j:zip4j:2.10.0' //QMUI:https://github.com/Tencent/QMUI_Android implementation 'com.qmuiteam:qmui:2.0.0-alpha10' //吐司框架:https://github.com/getActivity/Toaster implementation 'com.github.getActivity:Toaster:12.2' //MMKV本地存储:https://github.com/Tencent/MMKV implementation 'com.tencent:mmkv-static:1.3.3' //xpopup:https://github.com/li-xiaojun/XPopup implementation('com.github.li-xiaojun:XPopup:2.10.0') { exclude group: "com.davemorrissey.labs", module: "subsampling-scale-image-view-androidx" } //ShapeView:https://github.com/getActivity/ShapeView implementation 'com.github.getActivity:ShapeView:9.0' //Logger日志框架:https://github.com/orhanobut/logger implementation 'com.orhanobut:logger:2.2.0' //腾讯libpag的核心库 implementation 'com.tencent.tav:libpag:4.2.81' //微信sdk:https://open.weixin.qq.com api 'com.tencent.mm.opensdk:wechat-sdk-android:6.8.18' //支付宝sdk:https://open.alipay.com/api api 'com.alipay.sdk:alipaysdk-android:15.8.30' //扫码:https://github.com/journeyapps/zxing-android-embedded implementation 'com.journeyapps:zxing-android-embedded:3.6.0' //图片选择器:https://github.com/LuckSiege/PictureSelector implementation 'io.github.lucksiege:pictureselector:v3.11.2' }