Bitrise can't compile App with Ksp 1.8.20-1.0.10

Currently I have an issue with bitrise. everything was working as expected but after I updated gradle KSP and compose version, bitrise can’t build anymore, I’m not sure how to fix the issue, if I run locally the build works but on bitrise it does not work. I’m not sure if I’m missing something.
I receive this error

* What went wrong:
Execution failed for task ':app:kspDebugKotlin'.
> Number of loaded files in snapshots differs. Reported changed files: []

with this version of KSP it fails
id ‘com.google.devtools.ksp’ version ‘1.8.20-1.0.10’ apply false
but this version works correctly:
id ‘com.google.devtools.ksp’ version ‘1.8.10-1.0.9’ apply false

I can’t see why is not working. maybe the java version? I tried setting the java version in the steps to 8, 11 and 17 and it does not work
I also changed the kotlin version from:
kotlin_version = ‘1.8.10’
to
kotlin_version = ‘1.8.20’

Any idea why this could happen? In my local machine works correctly.
Thanks

1 Like