This commit is contained in:
2026-04-28 11:01:10 +08:00
parent 1b62e4d264
commit 8a5f599266
15 changed files with 419 additions and 32 deletions

View File

@@ -45,17 +45,20 @@ dependencies {
implementation(libs.material)
implementation(libs.androidx.activity)
implementation(libs.androidx.constraintlayout)
implementation("androidx.recyclerview:recyclerview:1.3.2")
implementation(libs.firebase.crashlytics.buildtools)
testImplementation(libs.junit)
androidTestImplementation(libs.androidx.junit)
androidTestImplementation(libs.androidx.espresso.core)
// RecyclerView
implementation("androidx.recyclerview:recyclerview:1.3.2")
// OkHttp
// Retrofit
implementation("com.squareup.retrofit2:retrofit:2.9.0")
// Gson 转换器
implementation("com.squareup.retrofit2:converter-gson:2.9.0")
// OkHttpRetrofit 会自动依赖 OkHttp但显式指定版本也可以
implementation("com.squareup.okhttp3:okhttp:4.12.0")
// Gson (用于解析 JSON)
implementation("com.google.code.gson:gson:2.10.1")
// OkHttp 日志拦截器
implementation("com.squareup.okhttp3:logging-interceptor:4.12.0")
implementation("com.blankj:utilcodex:1.31.1")
// Kotlin 协程
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.3")