This message was deleted.
# caching
s
This message was deleted.
v
If I got you right, of course. If the ABI of something you compile against changes, you need to recompile and thus you also need a different cache key of course.
d
thanks, and for non ABI changes it will not resulting cache key ?
v
The cache key shouldn't change in that case I think, no
d
I just check that for compileDebugKotlin somehow the cache is changes, but for kaptDebugKotlin it is still same. If it is incremental build it is super fast, but still it resulting different cache key so remote cache will missed.
v
Ah, for Kotlin I don't know whether the ABI is properly considered. If not that might be an opportunity for an improvement ticket.
d
yes, actually just found this article https://blog.jetbrains.com/kotlin/2022/07/a-new-approach-to-incremental-compilation-in-kotlin/ and seems fix kotlin issue with missed cache on non abi change.
👌 1