Hello! I would like to enable `InjectDispatcher` i...
# detekt
k
Hello! I would like to enable
InjectDispatcher
in my project, but it seems the rule is not detect well like in the document. I created a sample project to reproduce the issue https://github.com/ken-kentan/DetektSample/blob/main/src/main/kotlin/Main.kt Did I miss anything?
Copy code
16:14:25: Executing 'detekt'...

> Task :detekt UP-TO-DATE

BUILD SUCCESSFUL in 127ms
1 actionable task: 1 up-to-date
16:14:25: Execution finished 'detekt'.
m
The rule requires type Resolution. You should run the
detektMain
task instead of
detekt
.
k
Oh, I see. Now it’s working. Thanks!