Kodein icon indicating copy to clipboard operation
Kodein copied to clipboard

Missing kotlin targets in latest releases

Open dzmpr opened this issue 8 months ago • 4 comments

Faced the problem while updating voyager that kodein stopped publishing some kotlin targets of kodein-di-framework-compose module after 7.21.2 release. Especially macosArm64 and macosX64. Think it's can be related to #472, and has been caused by replacing allComposeExperimental to allComposeUi here. Image

dzmpr avatar May 02 '25 14:05 dzmpr

Hi @dzmpr We did change the targets, and it was a mistake. Sorry about that. I am working on having 2 different modules, 1 for the runtime (all CMP) targets and one for the UI targets, mainly compatible with Androidx Multiplatform libraries, like lifecycle stuff.

romainbsl avatar May 06 '25 07:05 romainbsl

I was working on splitting specific APIs for Compose runtime and Compose UIs lifecycle libraries are not published for Native platforms for anything else as iOS.

But, why do you need MacOS target over JVM Desktop?

romainbsl avatar May 23 '25 10:05 romainbsl

I think as library contributors (of koin and voyager) we shouldn't limit consumers of them with KMP targets that they can use. If CMP support this target we should too.

dzmpr avatar May 23 '25 13:05 dzmpr

Yes, we agree. I am working on a specific module to be able to provide compose with native platforms for the runtime. I was just wondering if you had a specific use case about native targets.

romainbsl avatar May 23 '25 16:05 romainbsl

@dzmpr This has been fixed since Kodein 7.28 There is now a module called kodein-di-framework-compose-runtime that is configured for all the targets of Compose Multiplatform runtime. For UI only kodein-di-framework-compose is still the go to module.

romainbsl avatar Oct 13 '25 18:10 romainbsl