Skip to content

Instantly share code, notes, and snippets.

@tarnagas
Created February 12, 2019 16:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tarnagas/d32c8ec44f6b82c5af23086cad8d922f to your computer and use it in GitHub Desktop.
Save tarnagas/d32c8ec44f6b82c5af23086cad8d922f to your computer and use it in GitHub Desktop.
/**
* kotlinc/bin/kotlinc hello.kt -include-runtime -d hello.jar
* java -jar hello.jar
*
* https://github.com/Zenika/docker-kotlin/blob/master/1.3/jdk12/Dockerfile
*/
fun main(args: Array<String>) {
println("Hello, %s!".format(args[0]))
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment