Skip to content

Commit

Permalink
Merge pull request #905 from aSemy/fix/expose_projects_as_api
Browse files Browse the repository at this point in the history
expose more mockk projects as API dependencies
  • Loading branch information
Raibaz committed Aug 26, 2022
2 parents b72cf14 + 56b30de commit 7d0ae19
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
9 changes: 3 additions & 6 deletions modules/mockk-android/build.gradle.kts
Expand Up @@ -31,19 +31,16 @@ android {
}

dependencies {
implementation(projects.modules.mockk)
implementation(projects.modules.mockkAgentApi)
implementation(projects.modules.mockkAgentAndroid)
api(projects.modules.mockk)
api(projects.modules.mockkAgentApi)
api(projects.modules.mockkAgentAndroid)

testImplementation("junit:junit:${Deps.Versions.junit4}")
androidTestImplementation("androidx.test.espresso:espresso-core:${Deps.Versions.androidxEspresso}") {
exclude(group = "com.android.support", module = "support-annotations")
}
androidTestImplementation(kotlin("reflect"))

implementation(platform(Deps.Libs.kotlinCoroutinesBom))
implementation(Deps.Libs.kotlinCoroutinesCore)

androidTestImplementation("androidx.test:rules:${Deps.Versions.androidxTestRules}")

androidTestImplementation(kotlin("test"))
Expand Down
4 changes: 2 additions & 2 deletions modules/mockk/build.gradle.kts
Expand Up @@ -20,8 +20,8 @@ kotlin {
val commonMain by getting {
dependencies {
api(projects.modules.mockkDsl)
implementation(projects.modules.mockkAgent)
implementation(projects.modules.mockkAgentApi)
api(projects.modules.mockkAgent)
api(projects.modules.mockkAgentApi)

implementation(dependencies.platform(Deps.Libs.kotlinCoroutinesBom))
implementation(Deps.Libs.kotlinCoroutinesCore)
Expand Down

0 comments on commit 7d0ae19

Please sign in to comment.