Hi everyone! I find there is a lack of boilerplate...
# multiplatform
s
Hi everyone! I find there is a lack of boilerplates for MPP project by "Kotlin-DSL". Made up one by myself: https://github.com/woodemi/notepad-sdk-mpp Features: - Totally by "Kotlin-DSL" - Using "Composite build" of Gradle for clear directory architecture References: - IntelliJ's template "Mobile Android/iOS" and "Mobile Shared Library" - AppCode's template "Single View App With a Kotlin/Native Framework" - https://kotlinlang.org/docs/reference/multiplatform.html - https://github.com/JetBrains/kotlin-mpp-example Hope it helps 🙂
👏 3
😍 1
g
Really nice! I would add at least one more target: JS! It is quite hard to find doc for that one
s
Looking forward to your JS target 🙂
a
I am doing something almost similar, it's not a boilerplate by definition, but people could use it to start their projects, it's still under development and I may take some time to finish it, but... I am using clean architecture (with some modifications), in my case, view, database and network are platform specific, presenter, usecases and repositories are Kotlin/Native, it's far from perfection, but maybe it could raise some good ideas https://github.com/alandoni/MultiPlatform-CleanArchitecture