https://kotlinlang.org logo
#koin-contributors
Title
# koin-contributors
j

John O'Reilly

05/04/2021, 4:57 PM
was looking to enabled Kotlin/JS IR compiler but getting following
Copy code
- Variant 'jsApiElements-published' capability io.insert-koin:koin-core:3.0.1 declares a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'js':
              - Incompatible because this component declares a usage of 'kotlin-api' of a component, as well as attribute 'org.jetbrains.kotlin.js.compiler' with value 'legacy' and the consumer needed a usage of 'kotlin-runtime' of a component, as well as attribute 'org.jetbrains.kotlin.js.compiler' with value 'ir'
just in case this is something that's straightforward to address?
seems main change is to use
js(BOTH)
Reason I'm asking....am trying out new Compose for Web preview but it only works with IR backend.....only dependencies I'm running in to issues with are Koin and Kermit (logging library)
Copy code
# Compile JS for legacy backend and new IR backend.
kotlin.js.compiler=both
in
gradle.properties
ah, looks like change was made but isn't in released version yet
2 Views