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
Doni
10/27/2022, 11:32 AM
thanks, and for non ABI changes it will not resulting cache key ?
v
Vampire
10/27/2022, 11:33 AM
The cache key shouldn't change in that case I think, no
d
Doni
10/27/2022, 12:22 PM
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
Vampire
10/27/2022, 12:27 PM
Ah, for Kotlin I don't know whether the ABI is properly considered. If not that might be an opportunity for an improvement ticket.