-
Hi devs. I find the detekt tool to be very awesome and fun to work with. My question may sound off topic, but I am currently trying to find something like "detekt , but for java" (afaik detekt does not work wiith java code, right?) so far checkstyle seems to work but it doesn't automatically registers for check task as detekt plugin does. so i was wondering if i could add any code in my app to make a single many thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You are right, your question is a little off topic ;).
That is correct.
That I cannot believe. If the checkstyle (and spotbugs as well) plugin is applied to the project, it is automatically added as a check task dependency. [edit] Please check out this test in the gradle project
What you could do is add any task as a dependency of the check task like this.
|
Beta Was this translation helpful? Give feedback.
You are right, your question is a little off topic ;).
That is correct.
detekt
is a static code analyzer for kotlin only.That I cannot believe. If the checkstyle (and spotbugs as well) plugin is applied to the project, it is automatically added as a check task dependency.
[edit] Please check out this test in the gradle project
What you could do is add any task as a dependency of…