I know 1.5 isn't officially released yet, but I ca...
# announcements
e
I know 1.5 isn't officially released yet, but I can get the artifact so I started migrating my project to it. However, anything added in 1.5 results in a unresolved reference. Is that expected until the full rollout of the release?
d
I think it's because you need the intellij plugin for 1.5... I'm still waiting because of that.
e
I was thinking that, but I think it would be odd if the compiler couldn't resolve symbols without the IDE plugin
d
Maybe try cleaning the build, the leftovers compiled without IR might be causing you problems
e
Looks like I had to manually specify:
Copy code
kotlinOptions {
  languageVersion = "1.5"
  apiVersion = "1.5"
}
1
d
Looks like the compiler thinks you're on 1.4.30... see https://blog.jetbrains.com/kotlin/2021/02/new-language-features-preview-in-kotlin-1-4-30/ in How to try the new features section... in 1.5 is that really needed?
e
Could be that the IDE gets that value from the plugin unless you explicitly specify it ¯\_(ツ)_/¯
d
Try ./gradlew build to bypass the IDE
e
I'm gonna try that as soon as I resolve all these errors and deprecations 😑