error: incompatible types: NonExistentClass cannot be converted to Annotation @error.NonExistentClass()
I am trying to generate Doka docs of my project. While generating I am getting an error like above. I have searched so many but could not able to get solution to this. I have gone through this link also. Here it is saying it might be a dagger related issue. I have tried these all solution also but not worked for me. I am posting here my all Gradle files for more clarification. if any one faced this issue or know the way to solve Please do comments. Project Gradle : buildscript { ext.kotlin_version = '1.3.20' ext.dokkaVersion = '0.9.17' repositories { google() jcenter() } dependencies {