Join Slack
Powered by
Hey guys, does anyone knows how to integrate the d...
# detekt
t
TheDukerChip
06/04/2019, 1:56 PM
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
escodro
06/04/2019, 1:57 PM
You can create a task on your Gradle.
https://arturbosch.github.io/detekt/groovydsl.html
s
schalkms
06/04/2019, 8:47 PM
And you can let the build fail with the following configuration
https://arturbosch.github.io/detekt/failonbuild.html
2
Views
Open in Slack
Previous
Next