kotlinc
Kotlin compiler.
- Start a REPL (interactive shell):
kotlinc
kotlinc {path/to/file.kt}
- Compile several Kotlin files:
kotlinc {path/to/file1.kt path/to/file2.kt ...}
- Execute a specific Kotlin Script file:
kotlinc -script {path/to/file.kts}
- Compile a Kotlin file into a self contained jar file with the Kotlin runtime library included:
kotlinc {path/to/file.kt} -include-runtime -d {path/to/file.jar}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).