uli
09/29/2021, 9:03 AMjs(BOTH)
things work fine and my js(IR)
based frontend modules can consume the shared artefacts just fine.
If I declare the JS target as js(IR)
in the shared module I get the following exception:
> Task :shared:compileKotlinJs
exception: java.lang.IllegalStateException: Cannot find the Composer class in the classpath
at androidx.compose.compiler.plugins.kotlin.lower.AbstractComposeLowering.<init>(AbstractComposeLowering.kt:195)
uli
09/29/2021, 9:05 AMOleksandr Karpovich [JB]
09/29/2021, 9:22 AMuli
09/29/2021, 9:26 AMOleksandr Karpovich [JB]
09/29/2021, 9:45 AMOleksandr Karpovich [JB]
09/29/2021, 9:47 AMuli
09/29/2021, 9:53 AMuli
09/29/2021, 10:05 AMCould not determine the dependencies of task ':shared:jsLegacyPackageJson'.
> Could not resolve all dependencies for configuration ':shared:jsLegacyNpm'.
> Could not resolve org.jetbrains.compose.runtime:runtime:1.0.0-alpha4-build362.
Still unclear if the plugin was disabled for JS by switching to BOTH. I guess so.