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
XxxModule_ProvideXxxFactory
classes are not generated in Kotlin
#297
Comments
Seems like a kapt bug, not a Dagger bug. On Fri, Jan 29, 2016 at 12:49 AM Masatoshi Kubode notifications@github.com
|
Ok, I'll post to kotlin issue tracker. |
@kubode can you link to the kapt issue you created? |
@kubode Never mind. I found a workaround here: https://youtrack.jetbrains.com/issue/KT-11201 |
Demonstration codes: https://github.com/kubode/KotlinDaggerIssue
Kotlin does not generate
XxxModule_ProvideXxxFactory
classes when using same type of@Provides
annotated functions.Modules:
ActivityModule_ProvideStringFactory
andApplicationModule_ProvideStringFactory
are created in java.(
:java:build
task is succeeded.)But,
ActivityModule_ProvideStringFactory
andApplicationModule_ProvideStringFactory
are not created in Kotlin.(Code generating task is succeeded.)
Using versions:
The text was updated successfully, but these errors were encountered: