kotlin-multiplatform-example
Introduction: A Kotlin multiplatform example app that targets Android, ReactJS, iOS, JavaFx, and Spring Boot
Tags:
Check out the blog post for a detailed explanation of this repository.
Android
./gradlew android-app:installDebug
iOS
xcodebuild -sdk iphonesimulator -arch arm64 -configuration Debug -project "ios-app/ios-app.xcodeproj" -scheme ios-app
then run from XCode targeting a simulator in the Debug Configuration
Web
npm install required as workaround for issue: https://github.com/JetBrains/kotlin-wrappers/issues/36
npm install core-js
./gradlew js-app:run
Desktop
./gradlew javafx-app:run
Server
./gradlew spring-boot-app:bootRun
