Embed kotlin runtime in java app

My doubt is: Is it possible to embed the Kotlin runtime on my Java application so anyone with the project source could run it without installing anything extra?


If you use gradle or maven, only need add kotlin as dependency

And if it is just a pure java project, without gradle, maven, ant,etc

You need Kotlin compiler.

Do you want to deploy a “fat Jar”?

I suppose you could call it that.