Skip to content

Commit 2e891d8

Browse files
committed
优化版本管理依赖中的一些使用名称
1 parent 5b7beb1 commit 2e891d8

4 files changed

Lines changed: 10 additions & 9 deletions

File tree

app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ plugins {
22
alias(libs.plugins.application)
33
alias(libs.plugins.kotlin)
44
alias(libs.plugins.aop)
5-
alias(libs.plugins.easylauncher)
5+
alias(libs.plugins.easyLauncher)
66
}
77

88
apply from : '../common.gradle'

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ plugins {
44
alias(libs.plugins.library) apply false
55
alias(libs.plugins.kotlin) apply false
66
alias(libs.plugins.aop) apply false
7-
alias(libs.plugins.easylauncher) apply false
7+
alias(libs.plugins.easyLauncher) apply false
88
}
99

1010
// 导入配置文件

gradle/libs.versions.toml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ agp = "8.13.2"
33
kotlin = "2.2.21"
44
androidAop = "2.7.4"
55
easyLauncher = "6.4.1"
6+
67
appCompat = "1.7.1"
78
material = "1.13.0"
89
deviceCompat = "2.5"
@@ -21,7 +22,7 @@ immersionBar = "3.2.2"
2122
photoView = "2.3.0"
2223
bugly = "4.4.7.3"
2324
lottie = "6.7.1"
24-
refreshAlpha = "3.0.0-alpha"
25+
refreshLayout = "3.0.0-alpha"
2526
timber = "4.7.1"
2627
circleIndicator = "2.1.6"
2728
mmkv = "2.3.0"
@@ -34,7 +35,7 @@ umengShareCore = "7.3.7"
3435
umengShareWX = "7.3.7"
3536
umengShareQQ = "7.3.7"
3637
qqSdk = "3.5.18.0"
37-
wechatSdk = "6.8.34"
38+
wxSdk = "6.8.34"
3839

3940
[plugins]
4041
# Android 应用构建插件(AGP):https://developer.android.com/build
@@ -46,7 +47,7 @@ kotlin = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
4647
# Android AOP 插件:切面编程框架:https://github.com/FlyJingFish/AndroidAOP
4748
aop = { id = "io.github.flyjingfish.androidaop", version.ref = "androidAop" }
4849
# 多构建类型图标标记插件:在不同 buildType 添加角标:https://github.com/usefulness/easylauncher-gradle-plugin
49-
easylauncher = { id = "com.starter.easylauncher", version.ref = "easyLauncher" }
50+
easyLauncher = { id = "com.starter.easylauncher", version.ref = "easyLauncher" }
5051

5152
[libraries]
5253
# AndroidX AppCompat:兼容支持库(ActionBar 等)
@@ -107,8 +108,8 @@ bugly = { module = "com.tencent.bugly_16kb:bugly-pro", version.ref = "bugly" }
107108
lottie = { module = "com.airbnb.android:lottie", version.ref = "lottie" }
108109

109110
# SmartRefreshLayout 刷新控件:https://github.com/scwang90/SmartRefreshLayout
110-
refreshLayoutKernel = { module = "io.github.scwang90:refresh-layout-kernel", version.ref = "refreshAlpha" }
111-
refreshHeaderMaterial = { module = "io.github.scwang90:refresh-header-material", version.ref = "refreshAlpha" }
111+
refreshLayoutKernel = { module = "io.github.scwang90:refresh-layout-kernel", version.ref = "refreshLayout" }
112+
refreshHeaderMaterial = { module = "io.github.scwang90:refresh-header-material", version.ref = "refreshLayout" }
112113

113114
# Timber 日志打印:https://github.com/JakeWharton/timber
114115
timber = { module = "com.jakewharton.timber:timber", version.ref = "timber" }
@@ -145,4 +146,4 @@ umengShareQQ = { module = "com.umeng.umsdk:share-qq", version.ref = "umengShareQ
145146
# QQ 开放平台组件文档:https://wikinew.open.qq.com/#/iwiki/4007776153
146147
qqSdk = { module = "com.tencent.qq:open-sdk", version.ref = "qqSdk" }
147148
# 微信开放平台组件文档:https://developers.weixin.qq.com/doc/oplatform/Mobile_App/Access_Guide/Android.html
148-
wechatSdk = { module = "com.tencent.mm.opensdk:wechat-sdk-android", version.ref = "wechatSdk" }
149+
wxSdk = { module = "com.tencent.mm.opensdk:wechat-sdk-android", version.ref = "wxSdk" }

library/umeng/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,5 @@ dependencies {
4545
api libs.umengShareQQ
4646

4747
api libs.qqSdk
48-
api libs.wechatSdk
48+
api libs.wxSdk
4949
}

0 commit comments

Comments
 (0)