Skip to content

Commit e426408

Browse files
Make default transitive dependencies for client nicer to deal with.
1 parent c6ee459 commit e426408

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

client-kotlin/build.gradle.kts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@ 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")) {
10+
exclude("dev.restate", "sdk-serde-jackson")
11+
}
12+
api(project(":sdk-serde-kotlinx"))
1113

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

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)