cashapp / zipline

Run Kotlin/JS libraries in Kotlin/JVM and Kotlin/Native programs
Apache License 2.0
1.98k stars 152 forks source link

Serializer for SerializableZiplineServiceType is not found. #1271

Closed Shabinder closed 3 months ago

Shabinder commented 3 months ago

Rebuilding extensions from same old code with minor update in few strings, no dep change, but client giving above. Prev Deployed Extensions/Plugins still work with same client, not able to build new ones.

Tried with following Versions:

previously also built with the 1.2.0 only, but not aware what changed, likely only things was IDE is updated.

image

have confirmed i am applying kotlin("plugin.serialization") everywhere, so no idea what needs to change.

Shabinder commented 3 months ago

finally got it, for some reason needed to enforce the version of kotlin and serialization this time.


configurations.all {
        resolutionStrategy {
            eachDependency {
                if (requested.group == "org.jetbrains.kotlin") {
                    useVersion("1.9.10")
                }

                if (requested.name == "kotlinx-serialization-json") {
                    useVersion("1.6.0")
                }
            }
        }
    }