Is there a limit on how granular new incremental c...
# compiler
t
Is there a limit on how granular new incremental compilation with
kotlin.incremental.useClasspathSnapshot=true
works? I got little to no incrementality when changing android resources files (i.e. adding a new string) in a big module. Examining new kotlin build reports reveals that the whole R.string class is considered changed, which leads to recompiling most of the code. However, I'm failing to build a reproducible sample repo for this issue. In the sample, only added resource R.string.new_resource is considered changed. Maybe I fail to build a repro sample because of the size of the codebase? Any other hints on what can influence this bug? I tried to reproduce general setup like agp, kotlin, gradle etc. versions and plugins are matching correctly
Found it
w
What was the issue?
t
@wasyl Sorry, was preparing a bug report. https://youtrack.jetbrains.com/issue/KT-55482
w
Ah, sure! Sadly I remember moving build directory to a different location (RAM in my case) and I found many plugins to have broken caching 😢