novoda / gradle-static-analysis-plugin

Easy setup of static analysis tools for Android and Java projects.
Apache License 2.0
410 stars 28 forks source link

Support ktlint html reports #207

Closed tasomaniac closed 2 years ago

tasomaniac commented 5 years ago

Now that ktlint plugin is updated to support custom reports, we should also support html reports. This is mainly just for providing better console output for html reports.

https://github.com/JLLeitschuh/ktlint-gradle#custom-reporters

The easiest (and most maintainable) integration would be that we will leave the configuration up to the user. For convenience we can provide sample enabling html reports.

In our integration we will just take a look if there are html reports available. If so, we can prefer over txt