This example shows how to use Kotlin/Native in the multiplatform world.
This sample based on the multiplatform documentation. If you have questions about the structure or how it works take a look at the documenation there.
The generated Greeting classes will be used in unit tests.
See here for Android and here for iOS.
To compile application and run tests from the command line
> cd iosApp
> ../gradlew -p ../greeting/ios build
> ../gradlew -p ../greeting/ios test
and for Xcode just open iosApp/iosApp.xcodeproj
and run application.
To compile application and run tests from the command line
> cd androidApp
> ../gradlew build
> ../gradlew test
> cd ../greeting/android
> ../../gradlew test