diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 2791464..025392a 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -41,8 +41,8 @@ implementation(libs.constraintlayout) implementation(libs.legacy.support.v4) implementation(libs.recyclerview) + implementation(libs.retrofit2.retrofit) testImplementation(libs.junit) androidTestImplementation(libs.ext.junit) androidTestImplementation(libs.espresso.core) - implementation(libs.retrofit) } \ No newline at end of file diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index cbc4758..a61c67e 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -10,6 +10,7 @@ legacySupportV4 = "1.0.0" recyclerview = "1.3.2" retrofit = "3.1.0-SNAPSHOT" +retrofitVersion = "3.0.0" [libraries] junit = { group = "junit", name = "junit", version.ref = "junit" } @@ -22,6 +23,7 @@ legacy-support-v4 = { group = "androidx.legacy", name = "legacy-support-v4", version.ref = "legacySupportV4" } recyclerview = { group = "androidx.recyclerview", name = "recyclerview", version.ref = "recyclerview" } retrofit = { module = "com.squareup.retrofit2:retrofit", version.ref = "retrofit" } +retrofit2-retrofit = { group = "com.squareup.retrofit2", name = "retrofit", version.ref = "retrofitVersion" } [plugins] android-application = { id = "com.android.application", version.ref = "agp" }