yandex / yatagan

Dependency Injection framework based on Google's Dagger2 API, optimized for fast builds and for managing large graphs with optional dependencies
Apache License 2.0
233 stars 10 forks source link

Kotlin 2.0 #176

Open rcmkt opened 2 months ago

rcmkt commented 2 months ago

Does yatagan support Kotlin 2.0 and k2 compiler? If not, will it planned?)

Jeffset commented 2 months ago

Depends on the backend one is using. KSP2 support is experimental, but it exists already. KAPT should just work.

rcmkt commented 2 months ago

Yeah, I'm interested in ksp2 support, any plans to make ksp stable? Just to understand the roadmap

Jeffset commented 2 months ago

The thing is, that KSP2 itself still has some issues for Java code generation. Yatagan may work well with KSP2 on the simple projects, on the more complex there may be some issues. So a lot of these issues will be out of my hands to fix.

So, currently the best way to proceed would be you trying to adopt the framework and then report any found issues.

@byar @bacecek FYI