Skip to content
← All posts

Series

KMP 101

Start Kotlin Multiplatform from zero: understand how Kotlin compiles to multiple targets, set up your environment, and build and run your first shared module across platforms.

8 parts ~1h 1min Beginner Source code RSS

Start the series →

Before this series

What you'll learn

  • Explain how Kotlin Multiplatform compiles and shares code across targets
  • Set up a KMP environment and create your first multiplatform project
  • Manage source sets, dependencies, and expect/actual declarations

In this series

  1. Part 1 10 min read

    KMP 101: An introduction to the multiplatform paradigm

    We use a wide range of apps every day on phones, watches, TVs, and computers, all part of a broad digital ecosystem.

  2. Part 2 4 min read

    KMP 101: Understanding How Kotlin Compiles to Multiple Platforms

    In the last post (🔗 KMP 101: An Introduction to the multiplatform paradigm), we explored the multiplatform paradigm and how KMP stands out in the ecosystem.

  3. Part 3 8 min read

    KMP 101: Mastering the Principles of Source Sets

    In the last article, we learned about the Kotlin compiler frontend, IR, and backend. Now we dig into source sets — the key concept for writing KMP code.

  4. Part 4 12 min read

    KMP 101: Understanding and Setting Up the Dev Environment in Kotlin Multiplatform

    Software development is a complex process that demands not only skill and creativity, but also a well-configured development environment.

  5. Part 5 3 min read

    KMP 101: Creating and running your first multiplatform project in Fleet

    Over the last few articles we covered key KMP concepts, from the multiplatform paradigm to setting up the environment.

  6. Part 6 9 min read

    KMP 101: Learning how Gradle is used in Kotlin Multiplatform

    In the last article, we created a project using the KMP Wizard and, with little effort, ran our app on Android, iOS, and Desktop.

  7. Part 7 8 min read

    KMP 101: How to Share Code in KMP - Connecting Platforms with expect and actual

    Unpacking the expect and actual keywords in Kotlin Multiplatform and the different ways they let you share code across platforms.

  8. Part 8 7 min read

    KMP 101: Exploring internal and external dependencies in KMP (end of the series)

    In previous articles, we established a foundation in Kotlin Multiplatform (KMP) and how it compiles to multiple platforms.

Continue your path

KMP 102 →

Related series