feat: 网络

This commit is contained in:
2025-11-12 18:20:57 +08:00
parent 22ff4384ca
commit 570de3c4e7
24 changed files with 600 additions and 11 deletions
+7
View File
@@ -11,6 +11,9 @@ activity = "1.8.0"
constraintlayout = "2.1.4"
timber = "5.0.1"
okhttp = "5.3.0"
worker = "2.11.0"
retrofit = "3.0.0"
gson = "2.13.2"
[libraries]
androidx-core-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "coreKtx" }
@@ -24,6 +27,10 @@ androidx-constraintlayout = { group = "androidx.constraintlayout", name = "const
logger-timber = { group = "com.jakewharton.timber", name = "timber", version.ref = "timber" }
okhttp = { group = "com.squareup.okhttp3", name = "okhttp", version.ref = "okhttp" }
okhttp-logging-interceptor = { group = "com.squareup.okhttp3", name = "logging-interceptor", version.ref = "okhttp" }
androidx-work-ktx = { group = "androidx.work", name = "work-runtime-ktx", version.ref = "worker" }
retrofit = { group = "com.squareup.retrofit2", name = "retrofit", version.ref = "retrofit" }
retrofit-converter-gson = { group = "com.squareup.retrofit2", name = "converter-gson", version.ref = "retrofit" }
gson = { group = "com.google.code.gson", name = "gson", version.ref = "gson" }
[plugins]