Anyone had this happen on Multiplatform web projec...
# compose-web
n
Anyone had this happen on Multiplatform web project?
Copy code
Caused by: org.gradle.internal.resolve.ArtifactNotFoundException: Could not find runtime-1.0.0-alpha2-samplessources.jar (org.jetbrains.compose.runtime:runtime:1.0.0-alpha2).
I had similar issue in another library and had to move to default compiler and not IR, and now idk if that breaks
Copy code
implementation(compose.runtime)
   implementation(compose.web.widgets)
I have a KMP project and a web-app module with this in the build gradle
1
c
Compose only works with IR AFAIK (there's no plugin support in Legacy)
n
Yep, thought that was the case, thanks
r
You found the underlying cause, but the "samplessources" thing is some very poor error handling / messaging. See https://youtrack.jetbrains.com/issue/KT-46273 and https://youtrack.jetbrains.com/issue/KTIJ-10769.