124 lines
5.8 KiB
TOML
124 lines
5.8 KiB
TOML
[versions]
|
|
agp = "8.13.0"
|
|
androidx-activity = "1.11.0"
|
|
androidx-appcompat = "1.7.1"
|
|
androidx-constraintlayout = "2.2.1"
|
|
androidx-core = "1.17.0"
|
|
androidx-espresso = "3.7.0"
|
|
androidx-lifecycle = "2.9.4"
|
|
androidx-testExt = "1.3.0"
|
|
composeHotReload = "1.0.0-rc02"
|
|
composeMultiplatform = "1.9.0"
|
|
junit = "4.13.2"
|
|
kotlin = "2.2.20"
|
|
kotlinx-coroutines = "1.10.2"
|
|
|
|
navigationCompose = "2.9.0"
|
|
koin = "4.1.1"
|
|
ktor = "3.3.1"
|
|
coil3 = "3.3.0"
|
|
kotlinx-datetime = "0.7.1"
|
|
icons = "1.7.3"
|
|
|
|
google = "4.4.4"
|
|
firebase = "34.4.0"
|
|
facebookAndroidSdkVersion = "18.1.3"
|
|
playServicesAds = "18.2.0"
|
|
kotlinx-serialization = "1.9.0"
|
|
|
|
mmkv = "2.2.4"
|
|
|
|
sqlite = "2.6.1"
|
|
room = "2.8.2"
|
|
ksp = "2.2.20-2.0.2"
|
|
|
|
# 环境
|
|
android-compileSdk = "36"
|
|
android-minSdk = "24"
|
|
android-targetSdk = "36"
|
|
|
|
android-versionCode = "100000"
|
|
android-versionName = "1.0.0"
|
|
|
|
android-facebookAppId = "1203530117944408"
|
|
android-facebookClientToken = "1ee2da9430c1a589e8aa623bfaaaa586"
|
|
|
|
|
|
[libraries]
|
|
kotlin-test = { module = "org.jetbrains.kotlin:kotlin-test", version.ref = "kotlin" }
|
|
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" }
|
|
|
|
# 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"}
|
|
|
|
# coil3
|
|
coil3-compose = { module = "io.coil-kt.coil3:coil-compose", version.ref = "coil3" }
|
|
coil3-svg = { module = "io.coil-kt.coil3:coil-svg", version.ref = "coil3" }
|
|
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
|
|
android-mmkv = { module = "com.tencent:mmkv", version.ref = "mmkv" }
|
|
|
|
# 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" }
|
|
|
|
# 谷歌Ads
|
|
android-play-services-ads-identifier = { module = "com.google.android.gms:play-services-ads-identifier", version.ref = "playServicesAds" }
|
|
|
|
[plugins]
|
|
androidApplication = { id = "com.android.application", version.ref = "agp" }
|
|
androidLibrary = { id = "com.android.library", version.ref = "agp" }
|
|
composeHotReload = { id = "org.jetbrains.compose.hot-reload", version.ref = "composeHotReload" }
|
|
composeMultiplatform = { id = "org.jetbrains.compose", version.ref = "composeMultiplatform" }
|
|
composeCompiler = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }
|
|
kotlinMultiplatform = { id = "org.jetbrains.kotlin.multiplatform", version.ref = "kotlin" }
|
|
jetbrains-kotlin-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" }
|
|
gms-google = { id = "com.google.gms.google-services", version.ref = "google" }
|
|
ksp = { id = "com.google.devtools.ksp", version.ref = "ksp" }
|
|
androidx-room = { id = "androidx.room", version.ref = "room" } |