Skip to content

Commit 0ccca44

Browse files
authored
Add api dependencies for serialization to JS and Native (#110)
1 parent 4a229b7 commit 0ccca44

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

core/build.gradle.kts

+4
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ kotlin {
192192
val jsMain by getting {
193193
dependencies {
194194
api("org.jetbrains.kotlin:kotlin-stdlib-js")
195+
api("org.jetbrains.kotlinx:kotlinx-serialization-core:$serializationVersion")
195196
implementation(npm("@js-joda/core", "3.2.0"))
196197
}
197198
}
@@ -205,6 +206,9 @@ kotlin {
205206

206207
val nativeMain by getting {
207208
dependsOn(commonMain.get())
209+
dependencies {
210+
api("org.jetbrains.kotlinx:kotlinx-serialization-core:$serializationVersion")
211+
}
208212
}
209213

210214
val nativeTest by getting {

0 commit comments

Comments
 (0)