Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add version supporting serialization 1.5.1 but keeping kotlin as 1.8.10 #191

Open
duarteffc opened this issue Dec 18, 2023 · 1 comment
Open

Comments

@duarteffc
Copy link

Hi @pdvrieze. Thanks for this util.

We have a need in our project to continue supporting 1.8.10 but running serialisation version 1.5.1. It should be v0.85.1, I believe.
We can open a branch with the changes as long as we have permissions.

Thanks!

@duarteffc duarteffc changed the title Create 0.85.1 Add version supporting serialization 1.5.1 but keeping kotlin as 1.8.10 Dec 18, 2023
@pdvrieze
Copy link
Owner

Hi, I've had a look at it. I have pushed a small change to dev that makes things work with 1.8.21 (not relying on the 1.9 implementation of kotlin.assert) and sets the target apiLevel to 1.8.
At the same time the module compiles and checks against serialisation 1.5.1 (when disabling the wasm targets that don't exist with the older versions).

In combination it should be possible to use the library with an overridden version of kotlinx.serialization. As such you should be able to just do some gradle adjustments to dependencies. (Have a look at: https://docs.gradle.org/current/userguide/dependency_downgrade_and_exclude.html).

If that doesn't work, let me know

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants