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

kotlinx-serialization-hocon can not be used without kotlinx-serialization-core #2019

Closed
osipxd opened this issue Aug 27, 2022 · 0 comments · Fixed by #2020
Closed

kotlinx-serialization-hocon can not be used without kotlinx-serialization-core #2019

osipxd opened this issue Aug 27, 2022 · 0 comments · Fixed by #2020

Comments

@osipxd
Copy link
Contributor

osipxd commented Aug 27, 2022

Describe the bug
It is impossible to use kotlinx-serialization-hocon without kotlinx-serialization-core added explicitly because core module is added with implementation configuration in hocon module:

implementation project(':kotlinx-serialization-core')

To Reproduce

  1. Add kotlinx-serialization-hocon to dependencies.
  2. Try to use annotation @Serializable.
  3. You will get an errors like:
Unresolved reference: Serializable

Expected behavior
core module should be added to dependencies transitively

Environment

  • Kotlin version: 1.7.10
  • Library version: 1.3.3 and 1.4.0
osipxd added a commit to osipxd/kotlinx.serialization that referenced this issue Aug 27, 2022
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

Successfully merging a pull request may close this issue.

1 participant