hey :wave: I just wanted to ask: is it possible to...
# squarelibraries
w
hey 👋 I just wanted to ask: is it possible to use molecule in a KMM ? I would like to place the logic in a shared module and subscribe to StateFlow from android/ios targets
k
I asked similar question above, the answer is that we need to wait until JetBrains Compose 1.2 is stable, then there will be an update to molecule with support for iOS target
w
Thanks, what about using it in a shared module and accepting that iOS target won't compile for a bit, is it possibile? I tried this today, but I don't know if I misconfigured the dependency/ had a gradle issue or or is it not supported.
noob question, I applied plugin like this (
shared
module): I also added
Copy code
classpath("app.cash.molecule:molecule-gradle-plugin:0.4.0")
in dependencies in the buildscript block in the root build file
it gives me
Could not resolve app.cash.molecule:molecule-runtime:0.4.0.
, what do I do wrong here? @KamilH