chore: migrate build and remove legacy SDK dependencies
This commit is contained in:
@@ -4,8 +4,10 @@ apply plugin: 'com.hihonor.mcs.asplugin'
|
||||
apply plugin: 'io.freefair.lombok' // ✅ 加上这个
|
||||
|
||||
android {
|
||||
compileSdkVersion 33
|
||||
lintOptions {
|
||||
namespace 'com.kyzy.bazi'
|
||||
compileSdk 36
|
||||
|
||||
lint {
|
||||
checkReleaseBuilds false // 关闭 release 打包时 lint 检查
|
||||
abortOnError false // 即使有错误也不终止编译
|
||||
}
|
||||
@@ -31,13 +33,10 @@ android {
|
||||
}
|
||||
|
||||
|
||||
buildFeatures {
|
||||
dataBinding true
|
||||
}
|
||||
defaultConfig {
|
||||
applicationId "com.kyzy.bazi"
|
||||
minSdkVersion 26
|
||||
targetSdkVersion 30
|
||||
minSdk 26
|
||||
targetSdk 36
|
||||
versionCode 5
|
||||
versionName "1.0.5"//version 1.0.0-appstore version 1.0.0-xh
|
||||
// 添加自定义字段
|
||||
@@ -60,7 +59,9 @@ android {
|
||||
targetCompatibility JavaVersion.VERSION_1_8
|
||||
}
|
||||
buildFeatures {
|
||||
dataBinding true
|
||||
viewBinding true
|
||||
buildConfig true
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
@@ -78,7 +79,7 @@ android {
|
||||
}
|
||||
}
|
||||
|
||||
packagingOptions {
|
||||
packaging {
|
||||
exclude 'META-INF/filepicker_release.kotlin_module'
|
||||
exclude 'lib/x86/libc++_shared.so'
|
||||
exclude 'lib/armeabi-v7a/libc++_shared.so'
|
||||
@@ -86,12 +87,6 @@ android {
|
||||
exclude 'lib/x86_64/libc++_shared.so'
|
||||
}
|
||||
|
||||
repositories {
|
||||
flatDir {
|
||||
dirs 'libs'
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -102,7 +97,7 @@ dependencies {
|
||||
implementation 'com.google.android.material:material:1.6.0'
|
||||
// testImplementation 'junit:junit:4.+'
|
||||
// //(gson生成和解析库)
|
||||
implementation 'com.google.code.gson:gson:2.8.0'
|
||||
implementation 'com.google.code.gson:gson:2.8.9'
|
||||
api ('com.squareup.retrofit2:converter-gson:2.0.2'){
|
||||
exclude group : 'com.google.code.gson'
|
||||
}
|
||||
@@ -116,8 +111,8 @@ dependencies {
|
||||
api 'io.reactivex.rxjava2:rxandroid:2.0.1'
|
||||
//okhttp的log信息 implementation 'com.squareup.okhttp3:okhttp:4.9.3' // 替换为最新版本
|
||||
implementation 'com.squareup.okhttp3:okhttp:4.12.0'
|
||||
implementation 'com.squareup.okhttp3:logging-interceptor:4.12.0'
|
||||
implementation 'net.i2p.crypto:eddsa:0.3.0'
|
||||
implementation "com.mapzen:on-the-road:1.2.0"
|
||||
//fastJson
|
||||
implementation files('libs\\fastjson-1.2.40.jar')
|
||||
implementation project(path: ':imagepickerl')
|
||||
@@ -126,9 +121,6 @@ dependencies {
|
||||
implementation 'com.trello.rxlifecycle2:rxlifecycle:2.2.1'
|
||||
implementation 'com.trello.rxlifecycle2:rxlifecycle-android:2.2.1'
|
||||
implementation 'com.trello.rxlifecycle2:rxlifecycle-components:2.2.1'
|
||||
//banner
|
||||
implementation 'io.github.youth5201314:banner:2.2.3'
|
||||
implementation 'com.readystatesoftware.systembartint:systembartint:1.0.3'
|
||||
implementation("com.github.bumptech.glide:glide:4.12.0")
|
||||
annotationProcessor ("com.github.bumptech.glide:compiler:4.12.0")
|
||||
//BaseRecyclerViewAdapterHelper
|
||||
@@ -145,88 +137,40 @@ dependencies {
|
||||
// implementation 'com.amap.api:location:latest.integration'
|
||||
//圆形视图库
|
||||
implementation 'com.makeramen:roundedimageview:2.3.0'
|
||||
//字母索引View,
|
||||
implementation 'com.github.lzjin:SideBarView:1.0.1'
|
||||
//拼音工具类
|
||||
implementation 'com.belerweb:pinyin4j:2.5.0'
|
||||
//地区三级联动插件
|
||||
implementation 'com.contrarywind:Android-PickerView:4.1.9'
|
||||
// implementation 'com.contrarywind:Android-Picker:4.1.0'
|
||||
//富文本处理图片
|
||||
implementation 'org.jsoup:jsoup:1.11.2'
|
||||
//FlexboxLayoutManager 处理recycleview的不规整布局
|
||||
implementation 'com.google.android:flexbox:2.0.1'
|
||||
//吐司框架
|
||||
implementation 'com.github.getActivity:Toaster:12.5'
|
||||
//鲁班图片压缩
|
||||
implementation 'top.zibin:Luban:1.1.8'
|
||||
//带有侧滑功能的recyclerview
|
||||
// implementation 'com.yanzhenjie.recyclerview:x:1.3.2'
|
||||
implementation 'com.github.luqiming666:SwipeRecyclerView:1.4.8'
|
||||
//Activity与Fragmen实现沉浸式状态栏
|
||||
implementation 'com.github.tangguna:immersion:1.0.1'
|
||||
//viewpager2
|
||||
implementation 'androidx.viewpager2:viewpager2:1.0.0'
|
||||
//文件管理框架
|
||||
implementation 'com.droidninja:filepicker:2.2.5'
|
||||
// implementation 'com.github.angads25:filepicker:1.1.1'
|
||||
// implementation 'io.github.tutorialsandroid:filepicker:9.2.5'
|
||||
implementation 'me.rosuh:AndroidFilePicker:1.0.1'
|
||||
implementation 'com.github.ns3chz:Picker:1.0.2'
|
||||
implementation 'com.github.zzy0516alex:FileSelectorRelease:v6.2'
|
||||
implementation 'com.github.chrisbanes:PhotoView:2.3.0'
|
||||
//友盟相关
|
||||
// 友盟基础组件库(所有友盟业务SDK都依赖基础组件库
|
||||
// implementation 'com.umeng.umsdk:common:+'// 必选
|
||||
// implementation 'com.umeng.umsdk:asms:+'// 必选
|
||||
//
|
||||
// implementation 'com.umeng.umsdk:uyumao:+' // 高级运营分析功能依赖库,使用U-App卸载分析、开启反作弊能力请务必集成。common需搭配v9.6.3及以上版本,asms需搭配v1.7.0及以上版本。需更新隐私声明。
|
||||
//
|
||||
// implementation 'com.umeng.umsdk:uverify:+'// 必选
|
||||
// implementation 'com.umeng.umsdk:uverify-main:+'// 必选
|
||||
// implementation 'com.umeng.umsdk:uverify-logger:+'// 必选
|
||||
implementation 'androidx.appcompat:appcompat:1.3.1'//(最低版本)
|
||||
// implementation 'com.umeng.umsdk:share-wx:7.1.5' //微信完整版
|
||||
// implementation 'com.tencent.mm.opensdk:wechat-sdk-android-without-mta:6.7.0'//微信官方依赖库,必选
|
||||
//pdf
|
||||
implementation 'com.github.barteksc:android-pdf-viewer:3.2.0-beta.1'
|
||||
//支付宝支付相关
|
||||
implementation 'com.alipay.sdk:alipaysdk-android:+@aar'
|
||||
//商品评价星星
|
||||
// implementation 'me.zhanghai.android.materialratingbar:library:1.4.0'
|
||||
implementation 'com.google.android.material:material:1.6.0'
|
||||
//图片选择器
|
||||
implementation 'com.github.Mariovc:ImagePicker:1.2.2'
|
||||
|
||||
implementation 'com.geyifeng.immersionbar:immersionbar:3.2.2'
|
||||
|
||||
implementation 'com.github.barteksc:android-pdf-viewer:2.8.2'
|
||||
//zxing 依赖 二维码,扫描等使用
|
||||
implementation 'com.google.zxing:core:3.4.1'
|
||||
// implementation 'com.journeyapps:zxing-android-embedded:4.3.0'
|
||||
implementation 'com.github.maning0303:MNZXingCode:V2.1.9'
|
||||
//高德地图3D
|
||||
implementation 'com.amap.api:3dmap:latest.integration'
|
||||
//该库专门用于在 ImageView 中处理 GIF 动画。
|
||||
// implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.23'
|
||||
//微信支付SDK
|
||||
implementation 'com.tencent.mm.opensdk:wechat-sdk-android-with-mta:+'
|
||||
//下载框架
|
||||
implementation 'io.github.chiclaim:downloader:1.0.2'
|
||||
implementation 'com.blankj:utilcodex:1.31.1'
|
||||
// debugImplementation("com.reqable.android:user-certificate-trust:1.0.0")
|
||||
implementation 'com.android.support:design:24.1.0'
|
||||
//以下依赖都需要添加
|
||||
implementation 'commons-codec:commons-codec:1.6'
|
||||
implementation 'androidx.annotation:annotation:1.1.0'
|
||||
|
||||
implementation 'com.aliyun.dpa:oss-android-sdk:2.9.21' //阿里云oss
|
||||
//图片裁剪
|
||||
implementation 'com.github.yalantis:ucrop:2.2.6'
|
||||
//XPopup 弹窗样式
|
||||
implementation 'com.github.li-xiaojun:XPopup:2.10.0'
|
||||
//处理 DeepSeek 返回的 markDown 格式
|
||||
implementation 'io.noties.markwon:core:4.6.2'
|
||||
//lottie动画依赖
|
||||
implementation 'com.airbnb.android:lottie:6.4.0'
|
||||
implementation 'cn.6tail:lunar:1.7.4'
|
||||
|
||||
Reference in New Issue
Block a user