Files
TaskTTL/gradle/libs.versions.toml

124 lines
5.8 KiB
TOML
Raw Permalink Normal View History

2025-04-13 23:33:29 +08:00
[versions]
2025-10-08 18:08:15 +08:00
agp = "8.13.0"
androidx-activity = "1.11.0"
androidx-appcompat = "1.7.1"
2025-04-13 23:33:29 +08:00
androidx-constraintlayout = "2.2.1"
2025-10-08 18:08:15 +08:00
androidx-core = "1.17.0"
androidx-espresso = "3.7.0"
androidx-lifecycle = "2.9.4"
androidx-testExt = "1.3.0"
2025-10-12 22:08:39 +08:00
composeHotReload = "1.0.0-rc02"
2025-10-08 18:08:15 +08:00
composeMultiplatform = "1.9.0"
2025-04-13 23:33:29 +08:00
junit = "4.13.2"
2025-10-08 18:08:15 +08:00
kotlin = "2.2.20"
kotlinx-coroutines = "1.10.2"
navigationCompose = "2.9.0"
koin = "4.1.1"
2025-10-12 22:08:39 +08:00
ktor = "3.3.1"
2025-10-08 18:08:15 +08:00
coil3 = "3.3.0"
kotlinx-datetime = "0.7.1"
icons = "1.7.3"
2025-10-12 22:08:39 +08:00
google = "4.4.4"
firebase = "34.4.0"
2025-10-08 18:08:15 +08:00
facebookAndroidSdkVersion = "18.1.3"
2025-10-12 22:08:39 +08:00
playServicesAds = "18.2.0"
2025-10-08 18:08:15 +08:00
kotlinx-serialization = "1.9.0"
mmkv = "2.2.4"
sqlite = "2.6.1"
2025-10-12 22:08:39 +08:00
room = "2.8.2"
2025-10-08 18:08:15 +08:00
ksp = "2.2.20-2.0.2"
# 环境
android-compileSdk = "36"
android-minSdk = "24"
android-targetSdk = "36"
2025-10-12 22:08:39 +08:00
2025-10-15 10:15:55 +08:00
android-versionCode = "100001"
android-versionName = "1.0.1"
2025-10-12 22:08:39 +08:00
2025-10-08 18:08:15 +08:00
android-facebookAppId = "1203530117944408"
android-facebookClientToken = "1ee2da9430c1a589e8aa623bfaaaa586"
2025-04-13 23:33:29 +08:00
[libraries]
kotlin-test = { module = "org.jetbrains.kotlin:kotlin-test", version.ref = "kotlin" }
2025-10-08 18:08:15 +08:00
kotlin-testJunit = { module = "org.jetbrains.kotlin:kotlin-test-junit", version.ref = "kotlin" }
junit = { module = "junit:junit", version.ref = "junit" }
androidx-core-ktx = { module = "androidx.core:core-ktx", version.ref = "androidx-core" }
androidx-testExt-junit = { module = "androidx.test.ext:junit", version.ref = "androidx-testExt" }
androidx-espresso-core = { module = "androidx.test.espresso:espresso-core", version.ref = "androidx-espresso" }
androidx-appcompat = { module = "androidx.appcompat:appcompat", version.ref = "androidx-appcompat" }
androidx-constraintlayout = { module = "androidx.constraintlayout:constraintlayout", version.ref = "androidx-constraintlayout" }
androidx-activity-compose = { module = "androidx.activity:activity-compose", version.ref = "androidx-activity" }
androidx-lifecycle-viewmodel = { module = "org.jetbrains.androidx.lifecycle:lifecycle-viewmodel", version.ref = "androidx-lifecycle" }
androidx-lifecycle-runtimeCompose = { module = "org.jetbrains.androidx.lifecycle:lifecycle-runtime-compose", version.ref = "androidx-lifecycle" }
kotlinx-coroutinesSwing = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-swing", version.ref = "kotlinx-coroutines" }
# 导航
navigation-compose = { module = "org.jetbrains.androidx.navigation:navigation-compose", version.ref = "navigationCompose" }
# koin 依赖注入
koin-core = { module = "io.insert-koin:koin-core", version.ref = "koin" }
koin-compose = { module = "io.insert-koin:koin-compose", version.ref = "koin" }
koin-viewmodel = { module = "io.insert-koin:koin-compose-viewmodel", version.ref = "koin" }
koin-android = { module = "io.insert-koin:koin-android", version.ref = "koin" }
2025-10-12 22:08:39 +08:00
# ktor 网络请求
ktor-client-core = { module = "io.ktor:ktor-client-core", version.ref = "ktor" }
ktor-client-content-negotiation = { module = "io.ktor:ktor-client-content-negotiation", version.ref = "ktor" }
ktor-serialization-kotlinx-json = { module = "io.ktor:ktor-serialization-kotlinx-json", version.ref = "ktor" }
ktor-client-android = { module = "io.ktor:ktor-client-android", version.ref = "ktor" }
#implementation("io.ktor:ktor-client-cio:2.3.12") # 桌面
ktor-client-darwin = { module = "io.ktor:ktor-client-darwin", version.ref = "ktor" }
ktor-client-logging = { module = "io.ktor:ktor-client-logging", version.ref = "ktor"}
2025-10-08 18:08:15 +08:00
# coil3
coil3-compose = { module = "io.coil-kt.coil3:coil-compose", version.ref = "coil3" }
2025-10-12 22:08:39 +08:00
coil3-svg = { module = "io.coil-kt.coil3:coil-svg", version.ref = "coil3" }
2025-10-08 18:08:15 +08:00
coil3-gif = { module = "io.coil-kt.coil3:coil-gif", version.ref = "coil3" }
coil3-network-ktor3 = { module = "io.coil-kt.coil3:coil-network-ktor3", version.ref = "coil3" }
# 时间
kotlinx-datetime = { module = "org.jetbrains.kotlinx:kotlinx-datetime", version.ref = "kotlinx-datetime" }
# 图标
material-icons-core = { module = "org.jetbrains.compose.material:material-icons-core", version.ref = "icons" }
material-icons-extended = { module = "org.jetbrains.compose.material:material-icons-extended", version.ref = "icons" }
# firebase
firebase-analytics = { module = "com.google.firebase:firebase-analytics" }
firebase-bom = { module = "com.google.firebase:firebase-bom", version.ref = "firebase" }
# facebook
android-facebook-android-sdk = { module = "com.facebook.android:facebook-android-sdk", version.ref = "facebookAndroidSdkVersion" }
# JSON
kotlinx-serialization-json = { module = "org.jetbrains.kotlinx:kotlinx-serialization-json", version.ref = "kotlinx-serialization" }
# 安卓MMKV
2025-10-12 22:08:39 +08:00
android-mmkv = { module = "com.tencent:mmkv", version.ref = "mmkv" }
2025-10-08 18:08:15 +08:00
# Room数据库
androidx-sqlite-bundled = { module = "androidx.sqlite:sqlite-bundled", version.ref = "sqlite" }
androidx-room-runtime = { module = "androidx.room:room-runtime", version.ref = "room" }
androidx-room-compiler = { module = "androidx.room:room-compiler", version.ref = "room" }
androidx-room-sqlite-wrapper = { module = "androidx.room:room-sqlite-wrapper", version.ref = "room" }
2025-10-12 22:08:39 +08:00
# 谷歌Ads
android-play-services-ads-identifier = { module = "com.google.android.gms:play-services-ads-identifier", version.ref = "playServicesAds" }
2025-04-13 23:33:29 +08:00
[plugins]
androidApplication = { id = "com.android.application", version.ref = "agp" }
androidLibrary = { id = "com.android.library", version.ref = "agp" }
2025-10-08 18:08:15 +08:00
composeHotReload = { id = "org.jetbrains.compose.hot-reload", version.ref = "composeHotReload" }
composeMultiplatform = { id = "org.jetbrains.compose", version.ref = "composeMultiplatform" }
2025-04-13 23:33:29 +08:00
composeCompiler = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }
2025-10-08 18:08:15 +08:00
kotlinMultiplatform = { id = "org.jetbrains.kotlin.multiplatform", version.ref = "kotlin" }
2025-10-12 22:08:39 +08:00
jetbrains-kotlin-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" }
gms-google = { id = "com.google.gms.google-services", version.ref = "google" }
2025-10-08 18:08:15 +08:00
ksp = { id = "com.google.devtools.ksp", version.ref = "ksp" }
androidx-room = { id = "androidx.room", version.ref = "room" }