-
-
Notifications
You must be signed in to change notification settings - Fork 35
Kotlin compiler
Zeioth edited this page Aug 27, 2023
·
18 revisions
Here I explain what every option of the compiler does for Kotlin.
compiler option | description |
---|---|
Build and run program |
Generates a class per file in ./bin and run ./bin/MainKt.class
|
Build program |
Generates a class per file in ./bin
|
Build program program and package as .jar |
Generates ./bin/MainKt.jar . Use it when you want to distribute your application. |
Run program |
Runs ./bin/MainKt.jar
|
Build solution |
Read the wiki to know how solutions work. You can find a Kotlin example .solution.toml here. |
Android studio build and install apk (adb) |
Uses adb to build and install the apk in your android smartphone. Note this will only work if adb is properly configured. |
Android studio build and install apk |
Generate apk in your computer. |
Run REPL |
Run the kotlin REPL |
Run Makefile |
You can leverage .solution.toml
to generate a APK and run it on a virtual machine when working with an Android Studio project.
This section is currenly WIP