Can someone help me understand under what circumst...
# caching
n
Can someone help me understand under what circumstance will this occur. I seem to be getting a cache miss because of this:
n
That issue seems to be resolved. I am on the latest kotlin plugin 2.0.20
Is it possible for Gradle/Develocity to capture more data so as to narrow down the diff here?
e
You could capture the value in a custom value.
n
This seems to be deep in the bowls of the kotlin gradle plugin… any idea how I would get to it?
e
I'm actually not sure. If you are still experiencing this issue even with KGP 2.0.20 then I would leave a comment on that YT issues with a reproducer if possible.
What Gradle version are you using?
I would try using the latest if you can.
n
I am using the latest 8.10.2
g
Hi, @Nikolay If you're still needing this, you could capture it with something like this in
settings.gradle.kts
(or wherever you have access to the Develocity plugin)
👍 1
n
would that break configuration cache?
g
Probably yes, because of the
Gradle
reference. Is having CC essential to your scenario?
n
yep
e
I mean I wouldn't commit this permanently to the build. You are just trying to get to the bottom of a build cache miss, right? I would throw it in a branch for testing and remove it once you're done with it.
n
The above code didn’t work.. but I was able to figure out the problem by just printing out the value of the property. I have filed a bug with Jetbrains: https://youtrack.jetbrains.com/issue/KT-74180/friendPathsSet-gradle-plugin-property-causes-cache-misses-for-compileTestKotlin