Skip to content

Commit c3f43be

Browse files
Make default transitive dependencies for client nicer to deal with. (#483)
1 parent c6ee459 commit c3f43be

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

client-kotlin/build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ plugins {
66
description = "Restate Client to interact with services from within other Kotlin applications"
77

88
dependencies {
9-
api(project(":client"))
10-
implementation(libs.kotlinx.coroutines.core)
9+
api(project(":client")) { exclude("dev.restate", "sdk-serde-jackson") }
10+
api(project(":sdk-serde-kotlinx"))
1111

12-
runtimeOnly(project(":sdk-serde-kotlinx"))
12+
implementation(libs.kotlinx.coroutines.core)
1313
}

client/build.gradle.kts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,8 @@ dependencies {
1111
compileOnly(libs.jspecify)
1212

1313
api(project(":common"))
14+
api(project(":sdk-serde-jackson"))
1415

1516
implementation(libs.jackson.core)
1617
implementation(libs.log4j.api)
17-
18-
runtimeOnly(project(":sdk-serde-jackson"))
1918
}

0 commit comments

Comments
 (0)