A build operation failed. Could not create task ':mozartec-capacitor-microphone:compileDebugKotlin'. Could not create task ':mozartec-capacitor-microphone:compileDebugKotlin'. 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.
After upgrade to Capacitor 5 - https://capacitorjs.com/docs/updating/5-0
Android studio error :
A build operation failed. Could not create task ':mozartec-capacitor-microphone:compileDebugKotlin'. Could not create task ':mozartec-capacitor-microphone:compileDebugKotlin'. 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.
Broken for Capacitor 5.0
Obsolete kotlin_version -
1.5.20-M1
, require1.8.20