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")