Funny thing: adding kapt gradle plugin completely ...
# kapt
a
Funny thing: adding kapt gradle plugin completely freezes IDEA from configuring projects. When import it from the scratch, modules, content roots, source sets are not being detected. The only module for the toplevel project, all subprojects and their sources are just "gray directories". Once I comment out the kapt plugin and press "refresh gradle projects" IDEA creates all meta info on inner modules, sources and so on. Return kapt back, now I can't add a dependency to the module. Actually gradle project view shows a new library as compile dependency, but import is still unavailable. Again: comment kapt -> refresh -> uncomment, I can continue.