Added OkHttp and retrofit2 to dependencies

This commit is contained in:
Marta Borgia Leiva 2026-02-04 11:14:37 +01:00
parent 6a29135566
commit bece95b5cc
3 changed files with 18 additions and 1 deletions

View file

@ -39,6 +39,13 @@ dependencies {
implementation(libs.material)
implementation(libs.androidx.activity)
implementation(libs.androidx.constraintlayout)
// Networking: OkHttp + Retrofit
implementation("com.squareup.okhttp3:okhttp:4.11.0")
implementation("com.squareup.okhttp3:logging-interceptor:4.11.0")
implementation("com.squareup.retrofit2:retrofit:2.9.0")
implementation("com.squareup.retrofit2:converter-gson:2.9.0")
testImplementation(libs.junit)
androidTestImplementation(libs.androidx.junit)
androidTestImplementation(libs.androidx.espresso.core)