Hey guys, does anyone knows how to integrate the d...
# detekt
t
Hey guys, does anyone knows how to integrate the detekt with the build process. In my case i want to break the build if detekt has found any code smell?
e
You can create a task on your Gradle. https://arturbosch.github.io/detekt/groovydsl.html
s
And you can let the build fail with the following configuration https://arturbosch.github.io/detekt/failonbuild.html