https://kotlinlang.org logo
Title
a

Alexey Glushkov

10/03/2021, 5:02 PM
Hi, is there any update about supporting java files in compose-jb desktop projects? I still can’t just build my compose-jb desktop project including a KMM shared lib. It just feels very confusing and I’m not even sure whether it’s my silly mistake or not… Everything works without java files but I got used to Dagger and would like to keep using it with compose-jb 🙂 I’ve filed a bug here https://github.com/JetBrains/compose-jb/issues/1022. My previous thread is here https://kotlinlang.slack.com/archives/C01D6HTPATV/p1628257318170400
a

Alexander Kurasov[JB]

10/05/2021, 8:10 AM
I’m going to take a look at it later this week. I switched my test project to build348 and it works fine too.
👍 1
a

Alexey Glushkov

10/05/2021, 11:20 AM
Great, thanks. It'd be great if you could check my case with your updated "Todo" sample app as it has a kmm shared lib. As another option I can take a look at your test project. Probably I'd be able to understand what's going on 🙂.
a

Alexander Kurasov[JB]

10/05/2021, 12:48 PM
BTW, do you have MPP project or desktop-only?
a

Alexey Glushkov

10/05/2021, 1:17 PM
I started it as a kmm project and just added a desktop support. It's here https://github.com/soniccat/WordTeacher/tree/desktop-third-attempt
And I've managed to build android target there with compose-jb