2025-05-15 11:08:23 +08:00
|
|
|
|
plugins {
|
|
|
|
|
|
alias(libs.plugins.android.library)
|
|
|
|
|
|
alias(libs.plugins.kotlin.android)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
android {
|
|
|
|
|
|
namespace 'com.qxcm.moduleutil'
|
|
|
|
|
|
compileSdk 35
|
|
|
|
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
|
|
minSdk 24
|
|
|
|
|
|
|
2025-05-22 19:03:01 +08:00
|
|
|
|
versionCode Integer.parseInt(project.findProperty("APP_VERSION_CODE"))
|
|
|
|
|
|
versionName project.findProperty("APP_VERSION_NAME")
|
|
|
|
|
|
|
2025-05-15 11:08:23 +08:00
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
|
|
consumerProguardFiles "consumer-rules.pro"
|
2025-06-07 09:00:24 +08:00
|
|
|
|
|
|
|
|
|
|
javaCompileOptions {
|
|
|
|
|
|
annotationProcessorOptions {
|
|
|
|
|
|
arguments = [
|
|
|
|
|
|
AROUTER_MODULE_NAME: project.getName()
|
|
|
|
|
|
]
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2025-05-15 11:08:23 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
buildTypes {
|
|
|
|
|
|
release {
|
|
|
|
|
|
minifyEnabled false
|
|
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
compileOptions {
|
2025-05-29 08:59:34 +08:00
|
|
|
|
sourceCompatibility JavaVersion.VERSION_17
|
|
|
|
|
|
targetCompatibility JavaVersion.VERSION_17
|
2025-05-15 11:08:23 +08:00
|
|
|
|
}
|
|
|
|
|
|
dataBinding {
|
|
|
|
|
|
enabled = true
|
|
|
|
|
|
}
|
|
|
|
|
|
kotlinOptions {
|
2025-05-29 08:59:34 +08:00
|
|
|
|
jvmTarget = '17'
|
2025-05-15 11:08:23 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
|
|
|
|
implementation libs.appcompat
|
|
|
|
|
|
implementation libs.material
|
|
|
|
|
|
implementation libs.core.ktx
|
2025-05-22 19:03:01 +08:00
|
|
|
|
implementation project(':moduletablayout')
|
2025-06-07 09:00:24 +08:00
|
|
|
|
implementation libs.activity
|
|
|
|
|
|
implementation libs.constraintlayout
|
2025-05-15 11:08:23 +08:00
|
|
|
|
testImplementation libs.junit
|
|
|
|
|
|
androidTestImplementation libs.ext.junit
|
|
|
|
|
|
androidTestImplementation libs.espresso.core
|
|
|
|
|
|
|
|
|
|
|
|
api(libs.com.squareup.retrofit2.retrofit4)
|
|
|
|
|
|
api(libs.retrofit2.adapter.rxjava2)
|
|
|
|
|
|
api(libs.squareup.converter.gson)
|
|
|
|
|
|
api(libs.okhttp3.logging.interceptor)
|
|
|
|
|
|
api(libs.jakewharton.retrofit2.kotlin.coroutines.adapter)
|
|
|
|
|
|
//本地组件间通信框架
|
|
|
|
|
|
api(libs.greenrobot.eventbus)
|
|
|
|
|
|
// api(libs.greenrobot.eventbus.annotation.processor)
|
|
|
|
|
|
//GSON
|
|
|
|
|
|
api(libs.google.gson)
|
|
|
|
|
|
//刷新框架
|
|
|
|
|
|
api(libs.com.scwang.smartrefresh.smartrefreshlayout)
|
|
|
|
|
|
api(libs.com.scwang.smartrefresh.smartrefreshheader)
|
|
|
|
|
|
api(libs.github.baserecyclerviewadapterhelper)
|
|
|
|
|
|
|
|
|
|
|
|
//Logger 日志打印
|
|
|
|
|
|
api(libs.logger)
|
|
|
|
|
|
//图片处理
|
|
|
|
|
|
api(libs.roundedimageview)
|
|
|
|
|
|
|
|
|
|
|
|
//RxJava
|
|
|
|
|
|
api(libs.reactivex.rxjava)
|
|
|
|
|
|
api(libs.rxandroid)
|
|
|
|
|
|
|
|
|
|
|
|
//toast
|
|
|
|
|
|
api(libs.hjq.toast)
|
|
|
|
|
|
//utils
|
|
|
|
|
|
api(libs.utilcode)
|
|
|
|
|
|
|
|
|
|
|
|
api(libs.multidex)
|
|
|
|
|
|
|
|
|
|
|
|
api(libs.fastjson)
|
|
|
|
|
|
|
|
|
|
|
|
api(libs.databinding.runtime.v702)
|
|
|
|
|
|
|
|
|
|
|
|
api(libs.pictureselector.picture.library)
|
|
|
|
|
|
api(libs.com.github.bumptech.glide.glide)
|
|
|
|
|
|
// api(libs.glide.compiler)
|
|
|
|
|
|
|
|
|
|
|
|
api(libs.svgaplayer.android)
|
2025-05-29 08:59:34 +08:00
|
|
|
|
//banner-viewpager,无限循环滚动 https://gitcode.com/gh_mirrors/ba/BannerViewPager?source_module=search_project
|
2025-05-15 11:08:23 +08:00
|
|
|
|
api(libs.com.github.zhpanvip.bannerviewpager)
|
|
|
|
|
|
|
|
|
|
|
|
api(libs.android.flexbox)
|
|
|
|
|
|
|
|
|
|
|
|
api(libs.github.photoview)
|
|
|
|
|
|
//设置验证码的白色框
|
|
|
|
|
|
api(libs.com.jacktuotuo.customview.verificationcodeview3)
|
|
|
|
|
|
// 公告垂直效果
|
|
|
|
|
|
api(libs.marqueeview)
|
|
|
|
|
|
|
|
|
|
|
|
api(libs.github.shadowlayout)
|
|
|
|
|
|
|
2025-05-22 19:03:01 +08:00
|
|
|
|
//判断是否是模拟器
|
|
|
|
|
|
api(libs.easy.protector.release)
|
|
|
|
|
|
//第三方Popup
|
|
|
|
|
|
api(libs.custompopwindow)
|
|
|
|
|
|
// cookie
|
|
|
|
|
|
api(libs.persistentcookiejar)
|
|
|
|
|
|
|
|
|
|
|
|
//noinspection GradleDynamicVersion
|
|
|
|
|
|
api(libs.dpa.oss.android.sdk)
|
|
|
|
|
|
//微信登录
|
|
|
|
|
|
api(libs.wechat.sdk.android)
|
|
|
|
|
|
//支付宝
|
|
|
|
|
|
api(libs.alipay.alipaysdk.android)
|
|
|
|
|
|
|
2025-06-07 09:00:24 +08:00
|
|
|
|
api(libs.arouter.api.v150)
|
|
|
|
|
|
annotationProcessor libs.arouter.annotation
|
|
|
|
|
|
annotationProcessor libs.arouter.compiler
|
|
|
|
|
|
|
2025-05-22 19:03:01 +08:00
|
|
|
|
api(libs.easypermissions)
|
|
|
|
|
|
api(libs.xbanner)
|
|
|
|
|
|
|
|
|
|
|
|
api(libs.lombok)
|
2025-05-15 11:08:23 +08:00
|
|
|
|
annotationProcessor 'org.projectlombok:lombok:1.18.32'
|
2025-05-29 08:59:34 +08:00
|
|
|
|
//下拉框 https://gitcode.com/gh_mirrors/ni/nice-spinner?utm_source=csdn_blog_hover&isLogin=1
|
|
|
|
|
|
api(libs.com.github.arcadefire.nice.spinner)
|
|
|
|
|
|
|
2025-05-30 19:01:54 +08:00
|
|
|
|
//定位
|
|
|
|
|
|
api('com.google.android.gms:play-services-location:21.0.1')
|
2025-06-07 09:00:24 +08:00
|
|
|
|
//SwitchButton
|
|
|
|
|
|
api(libs.zcw.togglebutton.library)
|
|
|
|
|
|
//图片模糊
|
|
|
|
|
|
api(libs.com.github.mmin18.realtimeblurview)
|
2025-06-09 09:14:32 +08:00
|
|
|
|
//播放器
|
|
|
|
|
|
//腾讯直播sdk
|
|
|
|
|
|
api('com.tencent.liteav:LiteAVSDK_Professional:10.9.0.13102')
|
|
|
|
|
|
api('com.google.android.exoplayer:exoplayer-core:2.19.1')
|
|
|
|
|
|
api('com.google.android.exoplayer:exoplayer-ui:2.19.1')
|
|
|
|
|
|
api("com.egame.vap:animplayer:2.0.8")
|
|
|
|
|
|
api("com.liulishuo.okdownload:okdownload:1.0.7")
|
2025-06-09 17:43:01 +08:00
|
|
|
|
|
|
|
|
|
|
api('com.zlc.glide:webpdecoder:1.6.4.9.0')
|
2025-05-30 19:01:54 +08:00
|
|
|
|
|
2025-05-29 08:59:34 +08:00
|
|
|
|
//腾讯im
|
|
|
|
|
|
// api project(':tuiconversation')
|
|
|
|
|
|
// api project(':tuichat')
|
|
|
|
|
|
api project(':tuichat')
|
|
|
|
|
|
annotationProcessor 'com.google.auto.service:auto-service:1.1.1'
|
|
|
|
|
|
api files('libs/WbCloudFaceLiveSdk-face-v6.6.2-8e4718fc.aar')
|
|
|
|
|
|
api files('libs/WbCloudNormal-v5.1.10-4e3e198.aar')
|
|
|
|
|
|
//2. 云normal SDK,
|
|
|
|
|
|
//aar的名称,例如:WbCloudNormal-v5.1.10-123456789.aar,填入 'WbCloudNormal-v5.1.10-123456789.aar'
|
2025-06-07 09:00:24 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
apply plugin: 'com.alibaba.arouter' // ⚠️ 添加这一行
|