I have error including kotlinx-date-time <https://...
# javascript
u
I have error including kotlinx-date-time https://github.com/Kotlin/kotlinx-datetime/issues/35
youtrack 1
i
Do you use 1.3.x version? If yes, it is related with KT-40226 Please try WA from it
u
Copy code
id("org.jetbrains.kotlin.js") version "1.3.72"
ok i will try he WA provided in the link
i
It is because
kotlinx-datetime
published in 2 variants, in current
legacy
and new
ir
compilers. And in 1.3.72 gradle plugin is not ready for this situation. So since 1.4.0 it will work smoothly, but before it, it requires workaround
u
it works fine now thanks until 1.4.0
i
Since 1.4.0 WA is not necessary, it will work by default
👍 1