Priyanshu Agarwal
08/20/2024, 11:30 AM1.23.0 to 1.23.1
, getting the following error on gradle sync:
io.gitlab.arturbosch.detekt/detekt-gradle-plugin/1.23.1/ac24a31de8c3bc4327c89170e361ab12ac16a11e/detekt-gradle-plugin-1.23.1.jar!/META-INF/detekt-gradle-plugin.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1.
My Kotlin version is 1.8.21
tried upgrading it to 1.9.23
but the problem persists.
I can see in the release notes of detekt 1.23.1 that they have added support for Kotlin 1.9.0 but that should not result in gradle sync error. Can anyone help me with this? Is there something that am missing?
AGP version is 7.4.0