I'm coming back to KMP after a while away and I'm ...
# multiplatform
k
I'm coming back to KMP after a while away and I'm looking for some best practices. If I want to build an app that runs across iOS, Android and Desktop is there a recommended approach? Can I host all of this in a single project or should I be doing something else? Are there any standard or recommended templates for this? Can anybody recommend any reading and or videos around this topic? Thanks
i
z
As a heads up, we're planning some changes to the default structure to split out each runnable app into its own module that then depends on a shared library. For the Android part specifically, AGP 9 already requires this, so there's a bunch of explanations and content around it already https://blog.jetbrains.com/kotlin/2026/01/update-your-projects-for-agp9/ We'll be updating the structure everywhere (including the wizard) once IntelliJ IDEA has AGP 9 support ready, hopefully sometime in Q1.
🤝 3
👀 1
k
Thanks Ian (and d'oh, I should have looked) and thanks Márton, I'll keep an eye out for the changes
z
For more context, you can look at these projects of various sizes being moved to the new structure: • https://github.com/Kotlin/KMP-App-Template/pull/60https://github.com/kropp/HouseHelper/pull/3https://github.com/JetBrains/kotlinconf-app/pull/615
k
Thanks again, with the help of this https://kotlinlang.org/docs/multiplatform/multiplatform-project-agp-9-migration.html I've been able to set the project up and get it all converted to AGP 9
🎉 1
s
@zsmb Anu update on the wizard I'm seeing that it spits out a project with AGP 8.11.2
z
Not yet, unfortunately 😕 The merge for AGP 9 support in IntelliJ IDEA is still in progress, the wizard updates are waiting for that to be done.