I've noticed that a lot of my `compile*Kotlin` tas...
# gradle
e
I've noticed that a lot of my
compile*Kotlin
tasks have build cache misses (specifically for Android projects building a release variant) even though nothing apparent changed in those modules. What's the best way to debug this?
t
Create a build scan with
-Dorg.gradle.caching.debug=true
flag on CI and then locally for the same task. Then compare the difference in inputs for tasks that missed the cache. BTW which Kotlin version are you using?
e
1.5.21
But I suspect this has been happening for a while
t
e
We don't use kapt. I will try the scan with the debug flag set, and let you know if I find anything
👍 1
t
could it be that you are using
--no-parallel
on CI, but
--parallel
locally? 🤔
e
I'm not using
--no-parallel
on CI (I posted the command I'm running here https://kotlinlang.slack.com/archives/C19FD9681/p1627856485019700?thread_ts=1627682379.009800&cid=C19FD9681) I get the following error with the debug flag set:
The build scan publishing request was rejected as the data exceeded the maximum size.