Skip to content

Add Kotlin 1.6 support#43

Open
screloma wants to merge 1 commit intoMadrapps:masterfrom
screloma:kotlin-1.6-support
Open

Add Kotlin 1.6 support#43
screloma wants to merge 1 commit intoMadrapps:masterfrom
screloma:kotlin-1.6-support

Conversation

@screloma
Copy link

I found that your plugin doesn't work when i use Kotlin 1.6 in my project.
It fails with a log message:
"STDOUT - Dagger Plugin : java.lang.RuntimeException: java.lang.IllegalStateException: Unsupported metadata version. Check that your Kotlin version is >= 1.0 "

This is because Dagger 2.31.2 currently used in project internally depends on kotlinx-metadata-jvm:0.2.0. I thought that the best course of action might be overriding it with kotlinx-metadata-jvm:0.4.0 in project's build.gradle file, thus avoiding raising Dagger version.

….4.0, overriding Dagger's 0:2:0 dependency.
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

Successfully merging this pull request may close these issues.

1 participant