From e869ff03624b41e73e1ef231bdacc4e043d20c1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EB=AA=85=EC=84=9D?= Date: Mon, 6 Feb 2023 19:46:57 +0900 Subject: [PATCH] =?UTF-8?q?Issues=20#287=20refactor:=20core=20=EB=AA=A8?= =?UTF-8?q?=EB=93=88=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.kts | 1 + build.gradle.kts | 8 -------- core/.gitignore | 1 + core/build.gradle.kts | 7 +++++++ data/build.gradle.kts | 1 + domain/build.gradle.kts | 2 ++ presentation/build.gradle.kts | 1 + settings.gradle.kts | 1 + 8 files changed, 14 insertions(+), 8 deletions(-) create mode 100644 core/.gitignore create mode 100644 core/build.gradle.kts diff --git a/app/build.gradle.kts b/app/build.gradle.kts index d6cbafbad..e14960553 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -31,6 +31,7 @@ android { } dependencies { + implementation(projects.core) implementation(projects.domain) implementation(projects.presentation) implementation(projects.data) diff --git a/build.gradle.kts b/build.gradle.kts index a1f241014..2987b7c2f 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -22,14 +22,6 @@ plugins { alias(libs.plugins.kotlin.serialization) apply false } -// -// allprojects { -// configurations.all { -// resolutionStrategy.force("org.objenesis:objenesis:2.6") -// } -// } -// - task("clean", Delete::class) { delete(rootProject.buildDir) } diff --git a/core/.gitignore b/core/.gitignore new file mode 100644 index 000000000..42afabfd2 --- /dev/null +++ b/core/.gitignore @@ -0,0 +1 @@ +/build \ No newline at end of file diff --git a/core/build.gradle.kts b/core/build.gradle.kts new file mode 100644 index 000000000..6caf953fa --- /dev/null +++ b/core/build.gradle.kts @@ -0,0 +1,7 @@ +plugins { + id("beep.java.library") +} + +dependencies { + implementation(libs.kotlin.coroutine.core) +} diff --git a/data/build.gradle.kts b/data/build.gradle.kts index 44357e13e..5c2a0c5eb 100644 --- a/data/build.gradle.kts +++ b/data/build.gradle.kts @@ -9,6 +9,7 @@ android { } dependencies { + implementation(projects.core) implementation(projects.domain) implementation(libs.androidX.room.runtime) diff --git a/domain/build.gradle.kts b/domain/build.gradle.kts index 62639fde3..1dcc0a063 100644 --- a/domain/build.gradle.kts +++ b/domain/build.gradle.kts @@ -3,6 +3,8 @@ plugins { } dependencies { + implementation(projects.core) + implementation(libs.kotlin.coroutine.core) implementation(libs.androidX.paging.common.ktx) implementation(libs.androidX.room.common) diff --git a/presentation/build.gradle.kts b/presentation/build.gradle.kts index ffa59ff39..db8f5acaf 100644 --- a/presentation/build.gradle.kts +++ b/presentation/build.gradle.kts @@ -15,6 +15,7 @@ android { } dependencies { + implementation(projects.core) implementation(projects.domain) implementation(libs.androidX.core.ktx) diff --git a/settings.gradle.kts b/settings.gradle.kts index b690fcea5..6e3537dd2 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -29,6 +29,7 @@ fun includeProject(moduleName: String, rootFolderName: String = "") { } includeProject(":app") +includeProject(":core") includeProject(":data") includeProject(":presentation") includeProject(":domain")