Anyone know how to solve `Cannot use @TaskAction annotation on method AbstractKotlinCompile.execute(...
d
Anyone know how to solve
Cannot use @TaskAction annotation on method AbstractKotlinCompile.execute() because interface org.gradle.api.tasks.incremental.IncrementalTaskInputs is not a valid parameter to an action method.
when upgrading from an older AGP version to 8.0.2?
a
Are you using Kotlin 1.5 or older?
If you want to use Gradle 8, you have to upgrade Kotlin in your project
d
Yeah, it's using 1.5... What's the minimum I need to upgrade to?
a
for this particular problem it’s 1.6: https://youtrack.jetbrains.com/issue/KT-47867
👍 1
d
Thanks! That solved the problem!
8892 Views