Today I tried to upgrade Kotlin to 2.1.0 in my Gradle project and got the build error like the following. Any suggestion to overcome this barrier?
Copy code
> Task :compileKotlin FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileKotlin'.
> 'void org.jetbrains.kotlin.cli.common.arguments.CommonToolArguments.setExtraWarnings(boolean)'