-
Notifications
You must be signed in to change notification settings - Fork 506
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kotlin 2.1 Compatibility Issue #2882
Comments
Ktlint uses the Kotlin 2.0.21 embedded compiler. #2880 also shows that upgrade to 2.1 is failing as some keywords have been removed which did exist in 2.0.21. |
Besides calling the legacy method, you should also consider handling the dependency |
Which legacy method do you mean? |
The exceptions caused the build failure. |
Please keep in mind that I don't run kotlinter (nor any other Ktlint integrator). So I cannot verify myself whether the problem is solved if I do not know exactly what to resolve. So either you have to provide me with a reproduction path with Ktlint CLI, or with enough detailed information so that I can check with enough certainity that it is resolved. |
For now, I am assuming that this has been validated in the kolinter issue which was fixed by PR #2880 |
After several hours of research yesterday, I found the Kotlinter gradle broke our project build when upgrading Kotlin 2.1.
I tried to fork and update Kotin Kotlinter to Kotlin 2.1 but it did not resolve the issue.
The root cause is from Klint, check the issue discussion here: jeremymailen/kotlinter-gradle#414 (comment)
The text was updated successfully, but these errors were encountered: