Skip to content

Commit

Permalink
Improve dependency graph
Browse files Browse the repository at this point in the history
  • Loading branch information
AfigAliyev committed Sep 29, 2022
1 parent c92619b commit b3c4aec
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,7 @@ class AndroidFeatureConventionPlugin : Plugin<Project> {
}

dependencies {
add("implementation", project(":core:core-common"))
add("implementation", project(":core:core-model"))
add("implementation", project(":core:core-domain"))
add("implementation", project(":core:core-ui"))
add("implementation", project(":core:core-designsystem"))
add("implementation", project(":core:core-navigation"))

add("implementation", libs.androidx.lifecycle.runtime.compose.get())
add("implementation", libs.androidx.lifecycle.viewmodel.compose.get())
Expand Down
1 change: 0 additions & 1 deletion core/core-data/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ plugins {
android.namespace = "com.maximillianleonov.cinemax.core.data"

dependencies {
implementation(project(":core:core-common"))
implementation(project(":core:core-database"))
implementation(project(":core:core-network"))
implementation(project(":core:core-domain"))
Expand Down
2 changes: 0 additions & 2 deletions core/core-database/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ plugins {
android.namespace = "com.maximillianleonov.cinemax.core.database"

dependencies {
implementation(project(":core:core-common"))

implementation(libs.kotlinx.serialization.json)
implementation(libs.kotlinx.datetime)
implementation(libs.bundles.androidx.room)
Expand Down
2 changes: 1 addition & 1 deletion core/core-domain/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ plugins {
}

dependencies {
implementation(project(":core:core-common"))
api(project(":core:core-common"))

implementation(libs.kotlinx.datetime)
implementation(libs.kotlinx.coroutines.core)
Expand Down
8 changes: 4 additions & 4 deletions core/core-ui/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ plugins {
android.namespace = "com.maximillianleonov.cinemax.core.ui"

dependencies {
implementation(project(":core:core-designsystem"))
implementation(project(":core:core-model"))
implementation(project(":core:core-common"))
implementation(project(":core:core-domain"))
api(project(":core:core-designsystem"))
api(project(":core:core-navigation"))
api(project(":core:core-model"))
api(project(":core:core-domain"))

implementation(libs.kotlinx.datetime)
implementation(libs.accompanist.pager)
Expand Down

0 comments on commit b3c4aec

Please sign in to comment.