From ba4a2df68a0016c47ed339dbcc8226be27f5ec43 Mon Sep 17 00:00:00 2001 From: Jan Seeger Date: Fri, 8 Sep 2023 22:12:21 +0200 Subject: [PATCH] Mark Arrow as API dependency (#34) --- core/build.gradle.kts | 5 +++-- google-kms-grpc/build.gradle.kts | 4 +++- jwks/build.gradle.kts | 3 ++- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/core/build.gradle.kts b/core/build.gradle.kts index d0a1e16..2862c2e 100644 --- a/core/build.gradle.kts +++ b/core/build.gradle.kts @@ -8,7 +8,6 @@ plugins { dependencies { listOf( platform(libs.arrow.stack), - libs.arrow.core, libs.kotlinLogging, libs.kotlin.reflect, libs.kotlinx.coroutines.core, @@ -16,7 +15,9 @@ dependencies { ).map { implementation(it) } - + + api(libs.arrow.core) + listOf( libs.kotest.runner, libs.kotest.assertions.core, diff --git a/google-kms-grpc/build.gradle.kts b/google-kms-grpc/build.gradle.kts index c3587d4..33371a0 100644 --- a/google-kms-grpc/build.gradle.kts +++ b/google-kms-grpc/build.gradle.kts @@ -14,10 +14,10 @@ plugins { dependencies { protobuf(libs.google.kms.protobuf) + listOf( projects.core, platform(libs.arrow.stack), - libs.arrow.core, libs.grpc.protobuf, libs.grpc.stub, libs.grpc.stubKotlin, @@ -27,6 +27,8 @@ dependencies { api(it) } + api(libs.arrow.core) + listOf( libs.kotest.runner, libs.kotest.assertions.core, diff --git a/jwks/build.gradle.kts b/jwks/build.gradle.kts index 4bb2f39..c35934f 100644 --- a/jwks/build.gradle.kts +++ b/jwks/build.gradle.kts @@ -10,7 +10,6 @@ dependencies { listOf( projects.core, platform(libs.arrow.stack), - libs.arrow.core, libs.kotlin.reflect, libs.kotlinLogging, libs.kotlinx.coroutines.core, @@ -19,6 +18,8 @@ dependencies { api(it) } + api(libs.arrow.core) + listOf( libs.kotest.runner, libs.kotest.assertions.core,