Is there anything special about Kotlin plugin's ability to recognize kapt2 generated codes? I set a project with two subprojects one of which has an annotation processor run on the contained source codes. And with the following gradle script, I configured IDEA to recognize the kapt2 generated codes. But in the other project referencing the mentioned project, it frequently fails to resolve any references to the generated codes if I type in some codes. I mean I start with ok from the IDE and typing in some sentences turns the source code suddenly flagged with various errors raised by not recognizing the generated codes.