Closed jansorg closed 1 year ago
I'm not sure what would cause this. The plugin doesn't use Kotlin, so it shouldn't be including any paricular version of KGP. It also doesn't use the TaskAction annotation, as it doesn't create any tasks.
My guess (and it is just a guess) is that something else in your project is causing a mismatch between the version of Kotlin that works with Gradle 8, and the one the build is actually using.
I‘m not sure what‘s causing it, so let‘s close this issue.
After I updated my build from Gradle 7.3.3 to 8.0.2 it started to fail:
Possibly related: https://youtrack.jetbrains.com/issue/KT-55704/Cannot-use-TaskAction-annotation-on-method-AbstractKotlinCompile.execute-error-while-using-Gradle-8.0-rc-with-KGP-1.5.32