https://kotlinlang.org logo
#announcements
Title
# announcements
a

adolev

08/01/2019, 12:44 PM
Hi all! Is the Kotlin command line compiler incremental too, or do I need to use the Gradle/Maven plugin for that?
m

marstran

08/01/2019, 12:51 PM
I think you can use
-Dkotlin.compiler.incremental=true
. See here: https://kotlinlang.org/docs/reference/using-maven.html#incremental-compilation
k

karelpeeters

08/01/2019, 1:07 PM
Isn't that about maven?
a

adolev

08/01/2019, 1:12 PM
Yes, the link points to a Maven resource
m

marstran

08/01/2019, 1:13 PM
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

adolev

08/01/2019, 1:14 PM
ah, thanks so much!
do you know if this also starts the server which keeps the jvm warm?
g

gildor

08/01/2019, 2:10 PM
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)