-
Notifications
You must be signed in to change notification settings - Fork 8
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
Support Kotlin 2.1.0 #48
Comments
Hi! I am aware of this problem. Currently, I'm unable to investigate and fix the issue, because the Poko compiler plugin that Mokkery uses is also broken by Kotlin |
perfect thanks |
Hi @lupuuss , is this the same issue with kotlin 2.0.21? when attempting to update our project from 2.0.20 to 2.0.21, I see tests failing to run due to
I see the current version of poko is 0.17.0, but maybe would need to be 0.17.2 to support 2.0.21? |
@zkovar I moved it to separate issue as it's not related to this issue. |
Update on 2.1.0 support: Poko with 2.1.0-Beta2 support was released so I will be able to adjust Mokkery and release a snapshot with 2.1.0-Beta2 support soon. |
Any update for this ? |
Sorry for lack of updates. I was busy releasing Mokkery
I'm aiming to resolve the issues at the end of this week. |
Perfect thanks. No it is not urgent as 2.1.0 is in rc and stable yet |
Update: Since adding support for Kotlin 2.1.0 was simpler without backward compatibility, I’ve already released a snapshot version, 2.6.0-SNAPSHOT, which is compiled with Kotlin 2.1.0-RC and should work with previous betas and future stable release. To use this version, add the following repository to both plugin and regular dependencies: maven { url = uri("https://s01.oss.sonatype.org/content/repositories/snapshots/") } I'll provide a stable release whenever Kotlin 2.1.0 stable release is available. |
2.1.0 is released now so time to release this fix |
I know Kotlin 2.1.0 has been released. I tried to release it yesterday but found an issue with Darwin targets. Today, I looked into it and found that using matchers with methods that take Objective-C types causes a I’ll release a version with Kotlin 2.1.0 support today and mark this as a known issue. After that, I’ll start working on fixing it. |
When updating kotlin version to 2.1.0-Beta1 tests using mockery fail with:
With kotlin 2.0.20 the tests succeed.
The text was updated successfully, but these errors were encountered: