main-kts
Use when creating, writing, or running standalone executable Kotlin scripts with the .main.kts extension, including the kotlin script runner, shebang execution, @file:DependsOn/@file:Repository/@file:Import/@file:CompilerOptions/@file:OptIn annotations, script dependencies, command-line args, compiled-script caching, GitHub Actions setup with Heapy/setup-main-kts, and common scripting libraries such as ktor, kotlinx-serialization, kotlinx-coroutines, clikt, and kotlinx-html.
Pinned to revision 2001e8a7833b, so it is the text this page describes rather than whatever the author pushed since.
Files
Every link opens the file at its source, pinned to the revision this page describes.