uli09/29/2021, 9:03 AM
things work fine and my
based frontend modules can consume the shared artefacts just fine. If I declare the JS target as
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)
Oleksandr Karpovich [JB]09/29/2021, 9:22 AM
uli09/29/2021, 9:26 AM
Oleksandr Karpovich [JB]09/29/2021, 9:45 AM
uli09/29/2021, 9:53 AM
Still unclear if the plugin was disabled for JS by switching to BOTH. I guess so.
Could 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.