diff --git a/app/build.gradle b/app/build.gradle index ac1ec57..87891ab 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -35,4 +35,8 @@ testImplementation libs.junit androidTestImplementation libs.ext.junit androidTestImplementation libs.espresso.core + implementation libs.retrofit21 + implementation libs.retrofit22 + implementation libs.retrofit23 + implementation libs.retrofit24 } \ No newline at end of file diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index e08b34e..145dc5f 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -5,6 +5,10 @@ espressoCore = "3.5.1" appcompat = "1.7.0" material = "1.12.0" +retrofit21 = "2.9.0" +retrofit22 = "2.9.0" +retrofit23 = "2.5.0" +retrofit24 = "2.1.0" [libraries] junit = { group = "junit", name = "junit", version.ref = "junit" } @@ -12,6 +16,10 @@ espresso-core = { group = "androidx.test.espresso", name = "espresso-core", version.ref = "espressoCore" } appcompat = { group = "androidx.appcompat", name = "appcompat", version.ref = "appcompat" } material = { group = "com.google.android.material", name = "material", version.ref = "material" } +retrofit21 = { group = "com.squareup.retrofit2", name = "retrofit", version.ref = "retrofit21" } +retrofit22 = { group = "com.squareup.retrofit2", name = "converter-moshi", version.ref = "retrofit22" } +retrofit23 = { group = "com.squareup.retrofit2", name = "converter-jackson", version.ref = "retrofit23" } +retrofit24 = { group = "com.squareup.retrofit2", name = "converter-scalars", version.ref = "retrofit24" } [plugins] android-application = { id = "com.android.application", version.ref = "agp" }