Can Kotlin be compiled?

Yes, when targeting the JVM, Kotlin is compiled to JVM *. class files , which is a bytecode format that can later be either interpreted by a JVM, or compiled to the machine code by the JVM during the program run (JIT), or even compiled ahead-of-time (AOT) down to the machine code.

Read more

Is Gradle written in Kotlin?

Gradle released support for Kotlin scripts and Kotlin DSL (In short, DSL makes the code more readable, it’s built in Kotlin feature). Finally, I don’t have to learn that lame Groovy for Gradle scripts. Now I can write my build scripts in my favorite language Kotlin.

Read more