Hello World example for Kotlin Project with build.gradle.kts outside of Intellij IDE

I am finding it surprisingly difficult to find a simple example of how to build a ‘hello-world’ app in Kotlin outside of the Intellij IDEA/Android Studio.

Essentially i just want to see an example of how to create kotlin app. I imagine it would contain a hello-world.kt and build.gradle.kts file (plus maybe some other gradle files). The gradle file would then (i guess) need to link to the Kotlin library and/or kotlin runtime.

Does anyone know where i can find such an example?

submitted by /u/mars0008
[link] [comments]