0PricingLogin
Kotlin Multiplatform Academy · Lesson

The shared Module vs the App Modules

How the shared library plugs into Android and iOS apps.

Two Apps, One Brain

A KMP project has two app modules plus one shared module. The shared module is the brain both apps borrow from. 🧠

What the shared Module Is

The shared module is a Kotlin library, not an app. It holds logic you want to write once and reuse on Android and iOS.

All lessons in this course

  1. The shared Module vs the App Modules
  2. commonMain, androidMain & iosMain
  3. Reading the shared build.gradle.kts
  4. Where Tests Live: commonTest & Friends
← Back to Kotlin Multiplatform Academy