https://kotlinlang.org logo
#koin
Title
# koin
s

stantronic

02/25/2023, 6:28 PM
Hello everyone 🙂 I’m using Koin in my own multiplatform project, and would like to use Koin Annotations. Is this supported when including a JS module? I get gradle sync/build error, and the examples for multiplatform dont include JS. Error stack trace is
Copy code
Could not determine the dependencies of task ':jsPackageJson'.
> Could not resolve all dependencies for configuration ':jsNpm'.
   > Could not resolve io.insert-koin:koin-annotations:1.1.1.
b

Big Chungus

02/25/2023, 6:38 PM
No, koin-annotations sadly does not publish js artefact
s

stantronic

02/25/2023, 6:40 PM
Thanks. Hopefully something coming eventually?
b

Big Chungus

02/25/2023, 7:02 PM
I'd be curious to know what's blocking js support myself.
a

arnaud.giuliani

02/27/2023, 10:54 AM
yeah, js side has limitations for now with Google KSp
something need to ask to #ksp team
b

Big Chungus

02/27/2023, 11:49 AM
Is there a tracker issue on koin or ksp repo for this?
What are the limitations exactly?
a

arnaud.giuliani

02/28/2023, 2:22 PM
Array in annotations are not supported for Kotlin JS side
then module can have includes for example 😕
2 Views