-
Notifications
You must be signed in to change notification settings - Fork 2k
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 #4451
Comments
I think this should have been fixed by #4211 (comment) but you'll need to use the |
quick edit - not specific to K2 kapt, this is just a general need for an updated release with newer kotlin-metadata |
This became very relevant suddenly as Kotlin 2.1.0 is released. We're on latest release ( repositories {
google()
mavenCentral()
exclusiveContent {
forRepository {
maven("https://oss.sonatype.org/content/repositories/snapshots") {
name = "Sonatype SNAPSHOTs"
}
}
filter {
includeVersionByRegex("com\\.google\\.dagger.*", ".*", "HEAD-SNAPSHOT")
}
}
} solves this issue, so this confirms Brad's claim above. So we need a new Dagger/Hilt release to be able to use Kotlin 2.1.0. |
@TWiStErRob thanks for confirming. I'll be out the next few days, but I can do a release early next week. |
This reverts commit 66ce554. Dagger currently does not support Kotlin 2.1.0, see google/dagger#4451
Closing. This should be fixed in Dagger 2.53. |
When testing dagger with
K2Kapt on Kotlin 2.1.0-Beta1, it fails with the below trace.Repro
kapt.use.k2=true
ingradle.properties
./gradlew :samples:star:kaptReleaseKotlinAndroid
Trace
The text was updated successfully, but these errors were encountered: