Skip to content

Commit

Permalink
Merge pull request #154 from futuredapp/fix/dependency-management
Browse files Browse the repository at this point in the history
Fix: dependency management inside project
  • Loading branch information
okalman authored Jul 15, 2021
2 parents 6936b4c + 154a6a3 commit e04418f
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 9 deletions.
6 changes: 3 additions & 3 deletions core-test/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ android {
}

dependencies {
implementation(project(":core"))
implementation(project(":dagger"))
implementation(project(":cr-usecases"))
api(project(":core"))
api(project(":dagger"))
api(project(":cr-usecases"))

implementation(Deps.Test.mockk)

Expand Down
2 changes: 1 addition & 1 deletion cr-usecases-test/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ android {
}

dependencies {
implementation(project(":cr-usecases"))
api(project(":cr-usecases"))

implementation(Deps.Test.mockk)

Expand Down
2 changes: 1 addition & 1 deletion cr-usecases/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ android {
}

dependencies {
implementation(project(":core"))
api(project(":core"))
implementation(kotlin(Deps.Kotlin.stdlib, KotlinCompilerVersion.VERSION))
implementation(kotlin(Deps.Kotlin.reflect, KotlinCompilerVersion.VERSION))
implementation(Deps.AndroidX.viewModelExtensions)
Expand Down
2 changes: 1 addition & 1 deletion dagger/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ android {
}

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

implementation(kotlin(Deps.Kotlin.stdlib, KotlinCompilerVersion.VERSION))
implementation(kotlin(Deps.Kotlin.reflect, KotlinCompilerVersion.VERSION))
Expand Down
1 change: 0 additions & 1 deletion example/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ android {
}

dependencies {
implementation(project(":core"))
implementation(project(":dagger"))
implementation(project(":rx-usecases"))
implementation(project(":cr-usecases"))
Expand Down
2 changes: 1 addition & 1 deletion rx-usecases-test/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ android {
}

dependencies {
implementation(project(":rx-usecases"))
api(project(":rx-usecases"))

implementation(Deps.Test.mockk)

Expand Down
2 changes: 1 addition & 1 deletion rx-usecases/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ android {
}

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

implementation(kotlin(Deps.Kotlin.stdlib, KotlinCompilerVersion.VERSION))
implementation(kotlin(Deps.Kotlin.reflect, KotlinCompilerVersion.VERSION))
Expand Down

0 comments on commit e04418f

Please sign in to comment.