first commit
This commit is contained in:
@@ -0,0 +1,260 @@
|
||||
[versions]
|
||||
|
||||
agp = "8.10.0"
|
||||
kotlin = "2.1.10"
|
||||
coreKtx = "1.15.0"
|
||||
|
||||
junit = "4.13.2"
|
||||
junitVersion = "1.2.1"
|
||||
espressoCore = "3.6.1"
|
||||
composeBom = "2025.05.01"
|
||||
constraintlayoutCompose = "1.1.1"
|
||||
|
||||
navigationCompose = "2.8.9"
|
||||
|
||||
okhttp = "4.12.0"
|
||||
retrofit = "2.11.0"
|
||||
|
||||
gson = "2.13.1"
|
||||
|
||||
loggingInterceptor = "4.12.0"
|
||||
|
||||
hilt = "2.56"
|
||||
hiltNavigationCompose = "1.2.0"
|
||||
ksp = "2.1.10-1.0.31"
|
||||
|
||||
coilCompose = "2.7.0"
|
||||
|
||||
appcompat = "1.7.0"
|
||||
|
||||
toaster = "12.8"
|
||||
|
||||
mmkv = "2.1.0"
|
||||
|
||||
accompanist-permissions = "0.28.0"
|
||||
accompanist-systemuicontroller = "0.28.0"
|
||||
|
||||
leakcanaryAndroid = "2.14"
|
||||
|
||||
# lottie
|
||||
lottieCompose = "6.3.0"
|
||||
|
||||
androidxCoreSplashscreen = "1.0.1"
|
||||
|
||||
materialIcon = "1.7.8"
|
||||
|
||||
zxing = "3.5.3"
|
||||
|
||||
wheelPickerCompose = "1.1.11"
|
||||
|
||||
ucrop = "2.2.10"
|
||||
|
||||
media3Exoplayer = "1.7.1"
|
||||
|
||||
barcodeScanning = "17.3.0"
|
||||
|
||||
camerax = "1.4.2"
|
||||
|
||||
aliyun_sdk = "2.9.21"
|
||||
aliyuntts_sdk = "2.1.6"
|
||||
|
||||
# Room 核心库
|
||||
room-runtime = "2.6.1"
|
||||
room-ktx = "2.6.1"
|
||||
room-compiler = "2.6.1"
|
||||
|
||||
#图片选择器
|
||||
lucksiege-pictureselector = "v3.11.3"
|
||||
lucksiege-compress = "v3.11.3"
|
||||
lucksiege-ucrop = "v3.11.3"
|
||||
lucksiege-camerax = "v3.11.3"
|
||||
|
||||
glide = "4.12.0"
|
||||
|
||||
lifecycle-viewmodel-ktx = "2.8.4"
|
||||
|
||||
lifecycle-viewmodel-compose = "2.8.4"
|
||||
androidx-activityCompose = "1.9.2"
|
||||
|
||||
huawei-agcp = "1.6.0.300"
|
||||
jpush = "5.8.0"
|
||||
hms-push = "6.13.0.300"
|
||||
localbroadcastmanager = "1.1.0"
|
||||
paging = "3.3.6"
|
||||
|
||||
commons-codec = "1.6"
|
||||
annotation = "1.1.0"
|
||||
foundation = "1.9.4"
|
||||
|
||||
# JAXB for Android (解决 javax.xml.bind.DatatypeConverter 不可用问题)
|
||||
jaxb-api = "2.3.1"
|
||||
jaxb-runtime = "2.3.1"
|
||||
xerces = "2.12.2"
|
||||
|
||||
# 高德地图
|
||||
amap-3dmap = "10.1.600"
|
||||
amap-search = "9.7.4"
|
||||
amap-location = "6.5.1"
|
||||
amap-combined = "10.1.600_9.7.4_6.5.1_20251020"
|
||||
|
||||
# 打印机
|
||||
printer-dnpext = "1.0"
|
||||
printer-colorcnv = "1.2"
|
||||
printer-photoprintlib = "1.2"
|
||||
firebaseCrashlyticsBuildtools = "3.0.6"
|
||||
|
||||
[libraries]
|
||||
androidx-core-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "coreKtx" }
|
||||
junit = { group = "junit", name = "junit", version.ref = "junit" }
|
||||
androidx-junit = { group = "androidx.test.ext", name = "junit", version.ref = "junitVersion" }
|
||||
androidx-espresso-core = { group = "androidx.test.espresso", name = "espresso-core", version.ref = "espressoCore" }
|
||||
androidx-compose-bom = { group = "androidx.compose", name = "compose-bom", version.ref = "composeBom" }
|
||||
androidx-ui = { group = "androidx.compose.ui", name = "ui" }
|
||||
androidx-ui-tooling = { group = "androidx.compose.ui", name = "ui-tooling" }
|
||||
androidx-ui-tooling-preview = { group = "androidx.compose.ui", name = "ui-tooling-preview" }
|
||||
androidx-ui-test-manifest = { group = "androidx.compose.ui", name = "ui-test-manifest" }
|
||||
androidx-ui-test-junit4 = { group = "androidx.compose.ui", name = "ui-test-junit4" }
|
||||
androidx-material3 = { group = "androidx.compose.material3", name = "material3" }
|
||||
|
||||
material-icon = { group = "androidx.compose.material", name = "material-icons-core-android", version.ref = "materialIcon" }
|
||||
material-icon-extended = { group = "androidx.compose.material", name = "material-icons-extended", version.ref = "materialIcon" }
|
||||
|
||||
constraintlayout-compose = { module = "androidx.constraintlayout:constraintlayout-compose", version.ref = "constraintlayoutCompose" }
|
||||
|
||||
navigation-compose = { group = "androidx.navigation", name = "navigation-compose", version.ref = "navigationCompose" }
|
||||
|
||||
# okhttp
|
||||
okhttp = { module = "com.squareup.okhttp3:okhttp", version.ref = "okhttp" }
|
||||
|
||||
# retrofit
|
||||
retrofit = { module = "com.squareup.retrofit2:retrofit", version.ref = "retrofit" }
|
||||
retrofit-converter-gson = { group = "com.squareup.retrofit2", name = "converter-gson", version.ref = "retrofit" }
|
||||
|
||||
# Gson
|
||||
gson = { module = "com.google.code.gson:gson", version.ref = "gson" }
|
||||
|
||||
logging-interceptor = { module = "com.squareup.okhttp3:logging-interceptor", version.ref = "loggingInterceptor" }
|
||||
|
||||
# KSP
|
||||
ksp-gradlePlugin = { group = "com.google.devtools.ksp", name = "com.google.devtools.ksp.gradle.plugin", version.ref = "ksp" }
|
||||
hilt-android = { module = "com.google.dagger:hilt-android", version.ref = "hilt" }
|
||||
hilt-android-compiler = { module = "com.google.dagger:hilt-android-compiler", version.ref = "hilt" }
|
||||
hilt-android-testing = { module = "com.google.dagger:hilt-android-testing", version.ref = "hilt" }
|
||||
hilt-navigation-compose = { module = "androidx.hilt:hilt-navigation-compose", version.ref = "hiltNavigationCompose" }
|
||||
|
||||
coil-compose = { module = "io.coil-kt:coil-compose", version.ref = "coilCompose" }
|
||||
|
||||
androidx-appcompat = { group = "androidx.appcompat", name = "appcompat", version.ref = "appcompat" }
|
||||
|
||||
toaster = { group = "com.github.getActivity", name = "Toaster", version.ref = "toaster" }
|
||||
|
||||
mmkv = { group = "com.tencent", name = "mmkv", version.ref = "mmkv" }
|
||||
|
||||
accompanist-permissions = { group = "com.google.accompanist", name = "accompanist-permissions", version.ref = "accompanist-permissions" }
|
||||
accompanist-systemuicontroller = { group = "com.google.accompanist", name = "accompanist-systemuicontroller", version.ref = "accompanist-systemuicontroller" }
|
||||
|
||||
# LeakCanary - https://github.com/square/leakcanary
|
||||
leakcanary-android = { module = "com.squareup.leakcanary:leakcanary-android", version.ref = "leakcanaryAndroid" }
|
||||
|
||||
# lottie
|
||||
lottie-compose = { module = "com.airbnb.android:lottie-compose", version.ref = "lottieCompose" }
|
||||
|
||||
androidx-core-splashscreen = { group = "androidx.core", name = "core-splashscreen", version.ref = "androidxCoreSplashscreen" }
|
||||
|
||||
google-zxing = { group = "com.google.zxing", name = "core", version.ref = "zxing" }
|
||||
|
||||
ucrop = { group = "com.github.yalantis", name = "ucrop", version.ref = "ucrop" }
|
||||
|
||||
wheelPicker_compose = { group = "com.github.commandiron", name = "WheelPickerCompose", version.ref = "wheelPickerCompose" }
|
||||
|
||||
androidx-media3-exoplayer = { module = "androidx.media3:media3-exoplayer", version.ref = "media3Exoplayer" }
|
||||
androidx-media3-datasource-rtmp = { module = "androidx.media3:media3-datasource-rtmp", version.ref = "media3Exoplayer" }
|
||||
androidx-media3-ui = { module = "androidx.media3:media3-ui", version.ref = "media3Exoplayer" }
|
||||
|
||||
barcode-scanning = { module = "com.google.mlkit:barcode-scanning", version.ref = "barcodeScanning" }
|
||||
|
||||
# camera
|
||||
camerax-core = { module = "androidx.camera:camera-core", version.ref = "camerax" }
|
||||
camerax-camera2 = { module = "androidx.camera:camera-camera2", version.ref = "camerax" }
|
||||
camerax-lifecycle = { module = "androidx.camera:camera-lifecycle", version.ref = "camerax" }
|
||||
camerax-view = { module = "androidx.camera:camera-view", version.ref = "camerax" }
|
||||
|
||||
# aliyun OSS
|
||||
aliyun = { module = "com.aliyun.dpa:oss-android-sdk", version.ref = "aliyun_sdk" }
|
||||
|
||||
# aliyun TTS
|
||||
aliyuntts = { module = "com.alibaba.nls:nls-sdk-common", version.ref = "aliyuntts_sdk" }
|
||||
|
||||
# Room 核心库
|
||||
room-runtime = { module = "androidx.room:room-runtime", version.ref = "room-runtime" }
|
||||
room-ktx = { module = "androidx.room:room-ktx", version.ref = "room-ktx" }
|
||||
room-compiler-ksp = { module = "androidx.room:room-compiler", version.ref = "room-compiler" }
|
||||
|
||||
lucksiege-pictureselector = { module = "io.github.lucksiege:pictureselector", version.ref = "lucksiege-pictureselector" }
|
||||
lucksiege-compress = { module = "io.github.lucksiege:compress", version.ref = "lucksiege-compress" }
|
||||
#lucksiege-ucrop = { module = "io.github.lucksiege:ucrop",version.ref ="lucksiege-ucrop"}
|
||||
lucksiege-camerax = { module = "io.github.lucksiege:camerax", version.ref = "lucksiege-camerax" }
|
||||
glide = { module = "com.github.bumptech.glide:glide", version.ref = "glide" }
|
||||
glide-compiler = { module = "com.github.bumptech.glide:compiler", version.ref = "glide" }
|
||||
|
||||
|
||||
lifecycle-viewmodel-ktx = { module = "androidx.lifecycle:lifecycle-viewmodel-ktx", version.ref = "lifecycle-viewmodel-ktx" }
|
||||
lifecycle-viewmodel-compose = { module = "androidx.lifecycle:lifecycle-viewmodel-compose", version.ref = "lifecycle-viewmodel-compose" }
|
||||
androidx-activityCompose = { module = "androidx.activity:activity-compose", version.ref = "androidx-activityCompose" }
|
||||
|
||||
jpush = { module = "cn.jiguang.sdk:jpush", version.ref = "jpush" }
|
||||
#华为
|
||||
huawei-push = { module = "com.huawei.hms:push", version.ref = "hms-push" }
|
||||
jpush-huawei = { module = "cn.jiguang.sdk.plugin:huawei", version.ref = "jpush" }
|
||||
# 华为开放平台-AppGallery Connect(AGC插件)
|
||||
# https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-Guides/agc-introduction-0000001057492641
|
||||
huawei-agcp = { module = "com.huawei.agconnect:agcp", version.ref = "huawei-agcp" }
|
||||
|
||||
#接入魅族厂商
|
||||
jpush-meizu = { module = "cn.jiguang.sdk.plugin:meizu", version.ref = "jpush" }
|
||||
|
||||
#接入 VIVO 厂商
|
||||
jpush-vivo = { module = "cn.jiguang.sdk.plugin:vivo", version.ref = "jpush" }
|
||||
|
||||
#接入小米厂商
|
||||
jpush-xiaomi = { module = "cn.jiguang.sdk.plugin:xiaomi", version.ref = "jpush" }
|
||||
|
||||
#接入 OPPO 厂商
|
||||
jpush-oppo = { module = "cn.jiguang.sdk.plugin:oppo", version.ref = "jpush" }
|
||||
|
||||
#以下为 OPPO 3.1.0 aar需要依赖
|
||||
oppo-push-commons-codec = { module = "commons-codec:commons-codec", version.ref = "commons-codec" }
|
||||
oppo-push-annotation = { module = "androidx.annotation:annotation", version.ref = "annotation" }
|
||||
|
||||
#接入荣耀厂商
|
||||
jpush-honor = { module = "cn.jiguang.sdk.plugin:honor", version.ref = "jpush" }
|
||||
|
||||
androidx-localbroadcastmanager = { module = "androidx.localbroadcastmanager:localbroadcastmanager", version.ref = "localbroadcastmanager" }
|
||||
|
||||
paging-runtime = { module = "androidx.paging:paging-runtime", version.ref = "paging" }
|
||||
paging-compose = { module = "androidx.paging:paging-compose", version.ref = "paging" }
|
||||
androidx-compose-foundation = { group = "androidx.compose.foundation", name = "foundation", version.ref = "foundation" }
|
||||
|
||||
# JAXB for Android (解决 javax.xml.bind.DatatypeConverter 不可用问题)
|
||||
jaxb-api = { module = "javax.xml.bind:jaxb-api", version.ref = "jaxb-api" }
|
||||
jaxb-runtime = { module = "org.glassfish.jaxb:jaxb-runtime", version.ref = "jaxb-runtime" }
|
||||
xerces = { module = "xerces:xercesImpl", version.ref = "xerces" }
|
||||
|
||||
# 高德地图 - 本地 JAR 文件
|
||||
amap-combined-jar = { group = "local", name = "AMap3DMap_AMapSearch_AMapLocation", version.ref = "amap-combined" }
|
||||
|
||||
# 打印机 - 本地 AAR 文件
|
||||
printer-dnpext-aar = { group = "local", name = "dnpext", version.ref = "printer-dnpext" }
|
||||
printer-colorcnv-aar = { group = "local", name = "dnpphotocolorcnv", version.ref = "printer-colorcnv" }
|
||||
printer-photoprintlib-aar = { group = "local", name = "dnpphotoprintlib", version.ref = "printer-photoprintlib" }
|
||||
firebase-crashlytics-buildtools = { group = "com.google.firebase", name = "firebase-crashlytics-buildtools", version.ref = "firebaseCrashlyticsBuildtools" }
|
||||
|
||||
|
||||
[plugins]
|
||||
android-application = { id = "com.android.application", version.ref = "agp" }
|
||||
kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
|
||||
kotlin-compose = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }
|
||||
hilt = { id = "com.google.dagger.hilt.android", version.ref = "hilt" }
|
||||
ksp = { id = "com.google.devtools.ksp", version.ref = "ksp" }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user