FYI: `kotlinx-metadata-jvm:0.6.1` is available on ...
# eap
m
FYI:
kotlinx-metadata-jvm:0.6.1
is available on Maven Central: https://repo1.maven.org/maven2/org/jetbrains/kotlinx/kotlinx-metadata-jvm/0.6.1/
🎉 1
w
This should help with https://youtrack.jetbrains.com/issue/KT-58898/K2-causes-kapt-tasks-in-Android-projects-to-fail right? If Dagger updates kotlinx.metadata to 0.6.1, then Dagger processor should be able to read classes from modules compiled with K2?
m
w
Yep, but at least modules without kapt will not cause dagger to crash 🎉
t
You could try to build without waiting for Dagger to update metadata - check my comment in the issue
w
Not sure if that'll work as Dagger now shadows kotlinx-metadata, so forcing the resolution won't do much 😞
Though it's quite a recent change so I can test with the previous release 💡
z
Yeah this will require a new dagger release
I don’t think a prev release will work either, the previous ones had breaking changes trying to use newer kotlinx-metadata APIs
w
Right, I hoped the one just before shading metadata would work, as I saw it fixed the issue for some folks? Anyway I opened https://github.com/google/dagger/issues/3893 so hopefully it'll get published soonâ„¢
z
@Margarita Bobova it looks like this release, while it doesn’t crash, it also doesn’t actually read kotlin 2.0 metadata either. Filed https://youtrack.jetbrains.com/issue/KT-59040
m
thank you, will investigate loading