Hello, We are a happy user of Kodein-DI and Compos...
# kodein
h
Hello, We are a happy user of Kodein-DI and Compose for a compose-web application. Question: are there any plans to support compose 1.7 in kodein?
r
Hello. Yes this is in my backlog. I need to find some time to work on it.
🙏 1
Sorry for the delay. Upgrade has been done in https://github.com/kosi-libs/Kodein/releases/tag/v7.24.1
🙌 1
h
I'm trying to upgrade to this latest version (from ​compose "1.7.0"​, ​kodein-di & kodein-di-framework-compose "7.21.2"​). But I can not build my ​web project anymore. The error is:
Copy code
- Incompatible because this component declares a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' and the consumer needed a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'js'
Seems that
kodein-di-framework-compose
is not compatible with js-components anymore. Or am I overlooking something?
r
I have an issue with that same problem I think. Indeed, we’ve upgraded our Gradle plugin with Kotlin 2.0 and I’ve accidently removed the JS target without noticing it…
I have published a fix to re-enable the JS target https://github.com/kosi-libs/Kodein/releases/tag/v7.24.2
h
thanks, build fixed (using dependency
org.kodein.di:kodein-di-framework-compose:7.25.0
)
😑 1
r
Alirght, I created my release on the wrong branch >.< guess I need some sleep. 😴
So I cleaned up so repo reflect with the right version https://github.com/kosi-libs/Kodein/releases/tag/v7.25.0
🙌 1