Open Mrkchv opened 1 month ago
Thanks for the issue. Do you have a minimal reproducer?
@autonomousapps Unfortunately I cannot share the code of our project. I also tried to make a test project, but I didn't get the error. Perhaps the logs will be useful project_health_debug_log.txt.zip
My working assumption is that this is another instance of this Gradle bug, except that you say this only appears on 1.30.0 and higher. A reproducer would be very useful.
Plugin version 1.31.0
Gradle version 8.4
JDK version 17
Kotlin and Kotlin Gradle Plugin (KGP) version 1.9.20
Android Gradle Plugin (AGP) version 8.3.2
Describe the bug After bumping to 1.31.0 we get this error:
We can specify the dependency of the :explodeCodeSource task on :kspKotlin as follows and it will work:
Before bumping to 1.31.0 we used 1.25.0 and did not get the error. The error occurs on versions higher than 1.29.0.