when I add a `kspJs` configuration, ```dependenci...
# ksp
j
when I add a
kspJs
configuration,
Copy code
dependencies {
   add("kspJvm", "io.jvaas:jvaas-observe")
   add("kspJs", "io.jvaas:jvaas-observe")
   //ksp("io.jvaas:jvaas-observe")
}
I get a failure with Execution failed for task 'applicationsod-server:compileProductionExecutableKotlinJs'.
Failed to calculate the value of task 'applicationsod-server:compileProductionExecutableKotlinJs' property 'entryModule$kotlin_gradle_plugin'.
> Collection has more than one element. Any ideas what this could be? I've posted the full code on https://stackoverflow.com/questions/70139266/ksp-on-kotlin-multiplatform-fails-on-the-kspjs-with-collection-has-more-than-on and a reproducible example here: https://github.com/janvladimirmostert/observable-demo
j
looks like a bug in the gradle plugin to me, will take a note and investigate.
j
thanks Jiaxiang!
m
I have also just stumbled across this error.
👍 1