Overview of the dependency structure

The following diagram shows the dependency structure of all the modules:

The following is a list of all the modules in the dependency structure:

  • Common module: At the top of the chain is a single common module containing common code for all the platforms.
  • common-js: This is an additional common module for JS-based platforms. It uses Kotlin/JS.
  • common-jvm: This is an additional common module for JVM-based platforms. It uses Kotlin/JVM.
  • Platform module: This contains platform-dependent code. For example, Android is a platform module whose parent is a common-jvm module.

Get Kotlin Blueprints now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.