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.