Giter Club home page Giter Club logo

Comments (4)

danysantiago avatar danysantiago commented on September 23, 2024 6

Dagger / HIlt currently does not support KSP2 as we are still working through the various breaking changes in the APIs. Moreover, the underlying processing library used by Dagger and Hilt (called XProcessing) needs to also be migrated, tracking issue is https://issuetracker.google.com/314151707

from dagger.

G00fY2 avatar G00fY2 commented on September 23, 2024

@danysantiago I assume that you are aware of this, but for transparency reasons I wanted to point out that KSP1 will not be supported with Kotlin 2.1:

KSP1 will not support Kotlin 2.1. Please plan transitioning from KSP1 to KSP2 during Kotlin 2.0.

Referring to the Kotlin documentation we can expect Kotlin 2.1 at the end of the year (Nov/Dec 2024).

Language releases (2.x.0) that bring major changes in the language and include tooling updates. Released once in 6 months.

from dagger.

ber4444 avatar ber4444 commented on September 23, 2024

It also prevents using the latest Open JDK (22) as that is only compatible with Kotlin 2.0

from dagger.

G00fY2 avatar G00fY2 commented on September 23, 2024

@ber4444 Seems like you are mixing up things. KSP2 is still in beta and not used by default, no matter if you use Kotlin 1.x or Kotlin 2.0. This will only change once Kotlin 2.1 will be released (see #4303 (comment)).

Just take a look at the KSP1 Deprecation Schedule.

from dagger.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.