Go to Intellij Preferences -> Build, Execution, Deployment -> Kotlin Compiler.
Update Language version and Api version to the one you wish.
(You can also use cmd + shift + A and type Kotlin Compiler to get to this preference)
Go to Intellij Preferences -> Build, Execution, Deployment -> Kotlin Compiler.
Update Language version and Api version to the one you wish.
(You can also use cmd + shift + A and type Kotlin Compiler to get to this preference)