Reputation: 4694
I noticed that I have to use kapt
instead of annotationProcessor
to make Dagger 2
work properly in my Kotlin project. Do I have to do the same to all the libraries (specifically Glide
and Room
)?
Upvotes: 2
Views: 2951
Reputation: 4085
Yes, it is recommended to do so. The documentation stated:
If you previously used the Android support for annotation processors, replace usages of the
annotationProcessor
configuration withkapt
. If your project contains Java classes,kapt
will also take care of them.
Upvotes: 9