kotlinc
Kotlin compiler. More information: https://kotlinlang.org/docs/compiler-reference.html#common-options.
- Start a REPL (interactive shell):
kotlinc
- Compile a Kotlin file:
kotlinc
- Compile several Kotlin files:
kotlinc
- Execute a specific Kotlin Script file:
kotlinc -script
- Compile a Kotlin file into a self contained jar file with the Kotlin runtime library included:
kotlinc -include-runtime -d
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
