Hi all! Is the Kotlin command line compiler increm...
# announcements
a
Hi all! Is the Kotlin command line compiler incremental too, or do I need to use the Gradle/Maven plugin for that?
m
I think you can use
-Dkotlin.compiler.incremental=true
. See here: https://kotlinlang.org/docs/reference/using-maven.html#incremental-compilation
k
Isn't that about maven?
a
Yes, the link points to a Maven resource
m
It's on the maven page, but both the maven page and the gradle page says you can add
-Dkotlin.compiler.incremental=true
to the command line parameters.
a
ah, thanks so much!
do you know if this also starts the server which keeps the jvm warm?
g
I don't think so. There is only Kotlin compiler daemon for Gradle
But anyway, if you need build a Kotlin project use Gradle instead (or Maven, if you want, but it much less support)