-
Notifications
You must be signed in to change notification settings - Fork 88
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
Insight on the kotlin 2.0 situation (activity in feature branch) #1071
Comments
We are actively working on sharing a roadmap wrt Kotlin 2.0 and K2 for Anvil. It's interrupted by US Thanksgiving holidays right now, but expect something soon. |
The roadmap is now available here |
So does the breaking of the dependency on dagger basically mean that Anvil is it's own separate DI library? Right now it's a mechanism for assembling dagger components dynamically. From what i can tell by reading the roadmap, that will no longer be the case as part of the K2 work. Or am i misreading something? |
That's correct, when we get to that stage then Anvil will be independent of Dagger, although it will likely still share the same API initially.
One clarification here is that they are sequential efforts. The work to get K2 supported in Anvil is happening currently but will not affect Anvil's relationship to Dagger. Once K2 support is finished, then the team will start on implementing its own Component generation and breaking the library dependency on Dagger. Let me know if that makes sense! Also happy to adjust the roadmap wording if you feel like it could be clearer about this :). |
Makes sense I'm curious if there's any rough timeframe for the k2 support? If the answer is no that's fine just looking to have any if possible when it might come. |
There's no specific target date at the moment since we're at a pretty early phase in the implementation. The best estimate I could give is that it's likely at least a few months away still. |
Hi,
me & many other patiently track this repo about updates on the kotlin 2.0 blocker for quite some time now.
I'm not pressuring anyone as this is free & opensource work, which I respect, but it would be helpful to have some insight from the team about the situation.
I read in the zac sweer's blog post that the hooks anvil needs were unexpectedly removed in the 2.0 compiler,
but then I noticed some activity in feature branch https://github.com/square/anvil/commits/joel.kotlin-2.0.21/
So, what is the situation? Did kotlin team put some hooks back in for us & therefore will anvil be able to support kotlin 2.0?
The text was updated successfully, but these errors were encountered: