Skip to content

Commit

Permalink
[commonize] #496 Commonize :utils:serialization
Browse files Browse the repository at this point in the history
  • Loading branch information
Him188 committed Jul 27, 2024
1 parent a62a1de commit 6f91f59
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions utils/serialization/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,8 @@ import org.jetbrains.kotlin.gradle.ExperimentalKotlinGradlePluginApi

plugins {
kotlin("multiplatform")
`ani-lib-targets`
`ani-mpp-lib-targets`
kotlin("plugin.serialization")
`flatten-source-sets`
}

dependencies {
Expand Down
1 change: 1 addition & 0 deletions utils/serialization/src/commonMain/kotlin/JsonBuilders.kt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package me.him188.ani.utils.serialization
import kotlinx.serialization.json.JsonArray
import kotlinx.serialization.json.JsonPrimitive
import kotlinx.serialization.json.buildJsonArray
import kotlin.jvm.JvmName

@JvmName("toJsonArrayString")
fun List<String>.toJsonArray(): JsonArray {
Expand Down

0 comments on commit 6f91f59

Please sign in to comment.