首页
This commit is contained in:
@@ -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")
|
||||
// OkHttp(Retrofit 会自动依赖 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")
|
||||
|
||||
Reference in New Issue
Block a user