I am a beginner in KMP. Can I have a KMP module wi...
# multiplatform
t
I am a beginner in KMP. Can I have a KMP module with multiple sub-modules within a non-completely modular KMP app ? Please share some github samples or resources where I can check the code structure and implementations. Thanks!
👌 1
g
Hi Tanvi, maybe this sample could be helpful https://github.com/gabrielbmoro/MovieDB-App
thank you color 1
t
Also would it be a good idea ? I am not sure of the hurdles I can face while development as of now, like accessing material theme from the main app etc..
g
Can I have a KMP module with multiple sub-modules within a non-completely modular KMP app ?
Yep, it is possible. As far as I know, you only need to load the jetbrains compose multiplatform plugin
org.jetbrains.kotlin.multiplatform
. If you take a look at this sample, we have a conventional plugin called
kmp-library-plugin.gradle.kts
. This plugin when applied makes the module multiplatform.
Also would it be a good idea ?
I think it is 🙂
t
okay, let me explore this, thank you!
🙌 1