Kickstart kotlin code and run in browser using CDN

Submitted by Dickens A S on Fri, 11/01/2019 - 13:57

Easily create kotlin project from these boilerplate Gradle DSL  Run in browser without additional JS packaging scripts

the Kotlin dependency is added in browser using below CDN

<script src=""></script>

Source code available in GitHub

Create kolin code in src\main\kotlin


fun main() { 
    println ("hello! world") 

Run gradle command     gradle assemble

Then launch index.html provided in the project, in the browser console you can see hello! world will printed


Add new comment