I am trying to get familiar with Kotlin to use in my android apps. So first I want to try out some simple kotlin examples, just to get familiar with syntax of kotlin.
The easiest way is to create a new Java library module like this, and configure it for Kotlin.
You also have to add this in your build.gradle of the imported module:
dependencies { runtimeClasspath files(compileKotlin.destinationDir) }