Embed kotlin runtime in java app


#1

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?

Regards.


#2

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


#3

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


#4

You need Kotlin compiler.


#5

Do you want to deploy a “fat Jar”?


#6

I suppose you could call it that.