How to use the application plugin with multiple start scripts in a Kotlin build file?

Using the application plugin in a Kotlin build file works without any problem. But I could not find any example in Kotlin that shows how one can create multiple start scripts, like for example in The application plugin documentation ( unfortunately doesn’t cover that and the CreateStartScripts documentation ( does not container a Kotlin example.