I'm wondering of the difference of the kotlin version between gradle setting and ide. I can see the kotlin version of IDE(Tools -> Kotlin -> Configure Kotlin). And there is another kotlin version defined in build.gradle. I want to know the difference. I think that the version in buidl.gradle affects to real project and some dependencies. And the version in IDE affects when we wrtie the code. Is my guess is right?
CodePudding user response:
IDE kotlin version help live coding style i.e. you get kotlin suggestion in that version. Gradle kotlin version is your project version i.e. it compile your code on that version.
These version may be different. Your IDE kotlin version may be updated than your gradle kotlin version.