A sample project demonstrating how to run a Ktor server in a Kotlin/Native application. Open build.gradle.kts to see the Gradle configuration.
This sample is a part of the codeSnippets Gradle project.
To run a sample, execute the following command in a repository's root directory:
./gradlew :embedded-server-native:runReleaseExecutableNative
To test this sample, execute the nativeTest
task:
./gradlew :embedded-server-native:nativeTest