From 88935c97cf0bcbab4ae9396beae7fd6c705a6e83 Mon Sep 17 00:00:00 2001 From: Sangwook123 Date: Wed, 1 May 2024 22:52:14 +0900 Subject: [PATCH] [feat] #7 add network module --- core/network/.gitignore | 1 + core/network/build.gradle.kts | 19 +++++++++++++++++++ core/network/consumer-rules.pro | 0 core/network/src/main/AndroidManifest.xml | 4 ++++ settings.gradle.kts | 1 + 5 files changed, 25 insertions(+) create mode 100644 core/network/.gitignore create mode 100644 core/network/build.gradle.kts create mode 100644 core/network/consumer-rules.pro create mode 100644 core/network/src/main/AndroidManifest.xml diff --git a/core/network/.gitignore b/core/network/.gitignore new file mode 100644 index 0000000..42afabf --- /dev/null +++ b/core/network/.gitignore @@ -0,0 +1 @@ +/build \ No newline at end of file diff --git a/core/network/build.gradle.kts b/core/network/build.gradle.kts new file mode 100644 index 0000000..0b269c9 --- /dev/null +++ b/core/network/build.gradle.kts @@ -0,0 +1,19 @@ +plugins { + alias(libs.plugins.sopt.android.library) + alias(libs.plugins.sopt.android.hilt) + alias(libs.plugins.kotlin.serialization) +} + +android { + namespace = "org.sopt.network" +} + +dependencies { + implementation(projects.core.common) + implementation(projects.core.datastore) + implementation(libs.bundles.coroutine) + implementation(libs.kotlinx.serialization.json) + implementation(libs.retrofit.core) + implementation(libs.retrofit.kotlin.serialization) + implementation(libs.okhttp.logging) +} \ No newline at end of file diff --git a/core/network/consumer-rules.pro b/core/network/consumer-rules.pro new file mode 100644 index 0000000..e69de29 diff --git a/core/network/src/main/AndroidManifest.xml b/core/network/src/main/AndroidManifest.xml new file mode 100644 index 0000000..a5918e6 --- /dev/null +++ b/core/network/src/main/AndroidManifest.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/settings.gradle.kts b/settings.gradle.kts index ab2cf0b..d746f3b 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -37,3 +37,4 @@ include(":core:data-test") include(":feature:home") include(":feature:mypage") include(":feature:search") +include(":core:network")