https://kotlinlang.org logo
#getting-started
Title
# getting-started
g

Glen

12/24/2021, 1:46 PM
Hello here. I have updated my Kotlin to 1.6.0 and when compiling some Kotlin code I get a warning and I don't know how to solve it.
a

Ayfri

12/24/2021, 1:51 PM
In your
build.gradle.kts
file you have entered Kotlin version 1.4.0
g

Glen

12/24/2021, 1:58 PM
@Ayfri I am not using Gradle for this project. Just the IntelliJ IDEA build system.
a

Ayfri

12/24/2021, 2:10 PM
Then it should be in the project settings
g

Glen

12/26/2021, 11:41 AM
@Ayfri, I checked the project settings, and even reconfigured Kotlin for the project, to no avail.
p

Peter Ertl

12/26/2021, 1:37 PM
Same here
a

Ayfri

12/26/2021, 1:39 PM
Show your Kotlin configuration of your projet in the project settings
g

Glen

12/26/2021, 3:23 PM
Oh @Ayfri, BTW, for such types of projects, you can't see the Kotlin version in the project settings.
a

Alexey Belkov [JB]

12/27/2021, 9:05 AM
Maybe "File | Settings | Build, Execution, Deployment | Compiler | Kotlin Compiler"?
g

Glen

12/27/2021, 11:15 AM
Thanks @Alexey Belkov [JB], that worked! Thanks a lot!🙏🏼
👍 1