kotlin.compiler.incremental is a property that can be set in a maven project to enable kotlin incremental compilation by default.
It is installed in the property block in pom.xml:
<project>
...
<properties>
<kotlin.compiler.incremental>true</kotlin.compiler.incremental>
</properties>
...
</project>
Or you can pass this option with a command line argument:
mvn install -Dkotlin.compiler.incremental=true
source
share