Skip to content
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

Kotlin 1.9 metadata support #3838

Closed
emartynov opened this issue Apr 19, 2023 · 3 comments
Closed

Kotlin 1.9 metadata support #3838

emartynov opened this issue Apr 19, 2023 · 3 comments

Comments

@emartynov
Copy link

Hi people,

I'm trying the Kotlin 1.9 features in project and the project build breaks.
I assume that Kotlin generates a new metadata (maybe just lift version of language there) and Hilt/Dagger doesn't like it:

Caused by: java.lang.IllegalStateException: Unsupported metadata version. Check that your Kotlin version is >= 1.0
	at dagger.internal.codegen.kotlin.KotlinMetadata.metadataOf(KotlinMetadata.java:187)
@emartynov
Copy link
Author

Today I learnt that metadata 0.6.0 dependency has it and it is already in main branch

"org.jetbrains.kotlinx:kotlinx-metadata-jvm:0.6.0",

I'm closing this ticket as redundant and waiting for the new release.

@bcorso
Copy link

bcorso commented Apr 19, 2023

Thanks, seems like more people are hitting this so I'll talk with the team and see if we can get a release out this week.

@bcorso
Copy link

bcorso commented Apr 28, 2023

@emartynov this should now be fixed in Dagger 2.46

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants