btkelly / gnag

A Gradle plugin that helps facilitate GitHub PR checking and automatic commenting of violations.
http://gnag.watch
Apache License 2.0
125 stars 14 forks source link

Update version of Detekt and fix a reporting bug #232

Closed Janani-Subbiah closed 4 years ago

Janani-Subbiah commented 4 years ago
  1. Updated the version of detekt from 1.0.1-> 1.1.1

  2. Updated to use the --report flag instead of the --output-name & --output to provide an argument for the name of the output file. This created a detekt_report file without the xml extension in the gnag folder that is in xml format because we specify as the report id in the --report argument.

Reference: https://arturbosch.github.io/detekt/cli.html