You should have Git, Java, Gradle and Heroku-cli installed.
$ git clone https://github.com/lennonjesus/javalin-kotlin-gradle-heroku.git && cd javalin-kotlin-gradle-heroku
$ gradle clean test
$ gradle run
http://localhost:7000
$ curl http://localhost:7000
Hello Javalin with Kotlin on Heroku!
$ gradle --stop
$ heroku create
$ git push heroku master
$ heroku ps:scale web=1
$ heroku open
$ curl https://[HEROKU-PROJECT-NAME-GOES-HERE].herokuapp.com
Hello Javalin with Kotlin on Heroku!