Hi everyone, does KSP require multiple kotlinc inv...
# ksp
i
Hi everyone, does KSP require multiple kotlinc invocations in order to output the final class files (first to run the ksp processors and then another invocation to do the actual compilation) or it’s technically possible to do the whole compilation in a single kotlinc call?
t
In Gradle, it requires two invocations because incremental processing and incremental compilation have different dirty sets. In command line, because there is no incremental processing/compilation, the plugin opt
withCompilation=true
can be used to combine processing and compilation into one invocation.
👍 1
i
Thank you. good to know about the
withCompilation
flag, I wasn’t aware of it.