mpp-example
mpp-example copied to clipboard
This project is a minimum example of Kotlin Multiplatform Project.
Kotlin Multiplatform Project Example
This project is a minimum mpp project.
This application has Android, iOS, Web and Server modules.
The server returns a simple JSON object and clients show it on each view.
Example for
I made this repository for explaining my presentation and book.
I'm sorry both are in Japanese.
-
Kotlin Fest 2019発表時のサンプルはこちら
Tag: KotlinFest2019
Slide link: Speaker deck -
みんなのKotlin執筆時のサンプルはこちら
Tag: KotlinForEveryone
Book link: Amazon
Run on each platform
Android
It works on Android Studio.

iOS
It works on XCode.

Web
It works on Web browsers.

- Build command
./gradlew :web:browserWebpack
- Open this file on your browser after building.
/web/src/main/resources/index.html
Server
It works on localhost:8080.

- Run
./gradlew :server:run