https://kotlinlang.org logo
Title
e

egorand

09/16/2019, 3:28 PM
How granular is Gradle’s compilation caching for Kotlin? E.g., if Gradle decides that a module in a multi-module project has to be recompiled, will it compile all files, or only those that need recompilation?
t

tapchicoma

09/16/2019, 5:55 PM
I think, this is related to your question: https://youtrack.jetbrains.com/issue/KT-24203
e

egorand

09/16/2019, 6:17 PM
Well that’s different, avoidance is always per-module, whereas caching can potentially be done per-file.
t

tapchicoma

09/16/2019, 6:24 PM
I believe, in this case, as kotlin supports incremental compilation, only changed file would be recompiled
e

egorand

09/16/2019, 6:35 PM
Thanks!