From bdd29833a775e057fb88f8dc75505a2cb759a83f Mon Sep 17 00:00:00 2001 From: Matthew Nelson Date: Thu, 5 Jan 2023 21:21:26 -0500 Subject: [PATCH] Use api in lieu of implementation Closes #82 --- benchmarks/build.gradle.kts | 1 - kotlin-result-coroutines/build.gradle.kts | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/benchmarks/build.gradle.kts b/benchmarks/build.gradle.kts index 9b78f46..0062344 100644 --- a/benchmarks/build.gradle.kts +++ b/benchmarks/build.gradle.kts @@ -34,7 +34,6 @@ kotlin { sourceSets { val commonMain by getting { dependencies { - implementation(project(":kotlin-result")) implementation(project(":kotlin-result-coroutines")) implementation("org.jetbrains.kotlinx:kotlinx-benchmark-runtime:${Versions.kotlinBenchmark}") implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:${Versions.kotlinCoroutines}") diff --git a/kotlin-result-coroutines/build.gradle.kts b/kotlin-result-coroutines/build.gradle.kts index d166973..01474f1 100644 --- a/kotlin-result-coroutines/build.gradle.kts +++ b/kotlin-result-coroutines/build.gradle.kts @@ -16,7 +16,7 @@ kotlin { val commonMain by getting { dependencies { implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:${Versions.kotlinCoroutines}") - implementation(project(":kotlin-result")) + api(project(":kotlin-result")) } }