You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Due to this issue #1 in 0.1.0 caused due to missing Compose Runtime, I've made all modules, :core, :android and :jvm "android libs" as first step, so it can be used in Android projects.
However, this also means that the :jvm module cannot be used in Desktop-Compose projects.
The right solution is to make :core and :jvm modules support multiplatform.
From the dependency perspective, it should be possible, but I'm lacking experience in releasing Kotlin multiplatform libraries, and need to research how to overcome the compose runtime problem in the :core module.
This is likely not going to happen before 8th July.
If anybody has experience with it, feel free to open a PR :)
I'd appreciate some help :)
WORKAROUND
For now, the workaround is to copy the code of the :core and :jvm folders in your compose-desktop project and add the missing dependencies
sergio-sastre
changed the title
Enable Desktop support by adding ComposablePreviewScanner dependency
Enable Desktop support by adding ComposablePreviewScanner dependency instead of copy-pasting code from :core and :jvm
Jun 13, 2024
Due to this issue #1 in 0.1.0 caused due to missing Compose Runtime, I've made all modules,
:core
,:android
and:jvm
"android libs" as first step, so it can be used in Android projects.However, this also means that the
:jvm
module cannot be used in Desktop-Compose projects.The right solution is to make :core and
:jvm
modules support multiplatform.From the dependency perspective, it should be possible, but I'm lacking experience in releasing Kotlin multiplatform libraries, and need to research how to overcome the compose runtime problem in the
:core
module.This is likely not going to happen before 8th July.
If anybody has experience with it, feel free to open a PR :)
I'd appreciate some help :)
WORKAROUND
For now, the workaround is to copy the code of the :core and :jvm folders in your compose-desktop project and add the missing dependencies
and that should solve it.
The text was updated successfully, but these errors were encountered: