jeka-dev / jeka

Build and Run Java code for Everywhere
https://jeka.dev
Apache License 2.0
112 stars 15 forks source link

Kotlin example #244

Open tokazio opened 1 month ago

tokazio commented 1 month ago

How do you configure jeka to compile kotlin code please ?

(and how about using kapt or ksp annotation processors ?)

djeang commented 1 month ago

Hi,

You can find an example here.

About kapt and ksp, there is currently no support out-of-the-box. This may change if users ask for (or contribute to).

However the example show, how you can add plugins and plugin options to Kotlin compiler : https://github.com/jeka-dev/working-examples/blob/master/springboot-kotlin-reactjs/jeka-src/Build.kt

Hope it helps