From 57a3172a2a05e8f7d2daee567edc0954c21e2e05 Mon Sep 17 00:00:00 2001 From: youjin09222 Date: Fri, 3 May 2024 16:57:06 +0900 Subject: [PATCH] =?UTF-8?q?chore/#9:=20retrofit2=20=EB=9D=BC=EC=9D=B4?= =?UTF-8?q?=EB=B8=8C=EB=9F=AC=EB=A6=AC=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/build.gradle | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/app/build.gradle b/app/build.gradle index 2ec3e92..e7cdaf8 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,5 +1,6 @@ plugins { id 'com.android.application' + id 'org.jetbrains.kotlin.plugin.serialization' version '1.9.0' id 'org.jetbrains.kotlin.android' id 'kotlin-parcelize' } @@ -54,4 +55,16 @@ dependencies { implementation "androidx.fragment:fragment-ktx:1.6.1" implementation "androidx.activity:activity-ktx:1.8.0" + + // Network + implementation 'com.squareup.retrofit2:retrofit:2.9.0' + implementation 'org.jetbrains.kotlinx:kotlinx-serialization-json:1.4.1' + implementation 'com.jakewharton.retrofit:retrofit2-kotlinx-serialization-converter:1.0.0' + + // define a BOM and its version + implementation(platform("com.squareup.okhttp3:okhttp-bom:4.10.0")) + + // define any required OkHttp artifacts without version + implementation("com.squareup.okhttp3:okhttp") + implementation("com.squareup.okhttp3:logging-interceptor") } \ No newline at end of file