kotlinc Command Examples

Kotlin compiler. More information: https://kotlinlang.org/docs/command-line.html.

kotlinc

kotlinc {{path/to/file.kt}}

kotlinc {{path/to/file1.kt path/to/file2.kt ...}}

kotlinc -script {{path/to/file.kts}}

kotlinc {{path/to/file.kt}} -include-runtime -d {{path/to/file.jar}}