Skip to content

Remove a workaround for kotlinx-io version mismatch #1832

@krzema12

Description

@krzema12

// It's a workaround for a problem with Kotlin Scripting, and how it resolves
// conflicting versions: https://youtrack.jetbrains.com/issue/KT-69145
// As of adding it, ktor-serialization-kotlinx-json depends on kotlinx-io-core:0.4.0,
// and because of how Scripting resolves the libraries, 0.4.0 is used in the script,
// leading to a runtime failure of not being able to find a class or a function.
// I'm bumping kotlinx-io to 0.6.0 in kotlinx.serialization here: https://github.com/Kotlin/kotlinx.serialization/pull/2933
// Here's a ticket to remember to remove this workaround: https://github.com/typesafegithub/github-workflows-kt/issues/1832
runtimeOnly("org.jetbrains.kotlinx:kotlinx-io-core:0.6.0")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions