Hi, I tried to start using detekt for the project I'm working on, but I cannot figure out the gradle configuration part.
Our project is a complex tree with empty root which have subprojects which in turn have subprojects which sometimes also have subprojects.
I tried to configure detekt only for subprojects where there is kotlin source but that dies with "cannot find dependency detekt-cli". I've found this issue
https://github.com/arturbosch/detekt/issues/713 and tried to configure it for root project, but that also does not work because many of the subprojects do not contain 'main' sourceset or they do but not
src/main/java
and the
detektCheck
task dies with
Directory 'blabla' specified for property 'input' does not exist.
Is configuring detekt for my project impossible or am I missing something?