SBT Plugin for Running Checkstyle on Java Sources
Thanks to @JosephEarl sbt-checkstyle-plugin now follows the best practices guide for SBT plugins. The changes include:
The names of the setting and task keys changed in this release. Check the README for updated information on configuring and using the plugin.
This release upgrades to Checkstyle 6.15.
If you would like to use a different version of Checkstyle, see the instructions here: https://github.com/etsy/sbt-checkstyle-plugin#upgrading-checkstyle-version
sbt-checkstyle-plugin is now an AutoPlugin. As such there is no need to manually enable the plugin.
In addition, several breaking changes were made in this release:
The README has been updated to reflect these changes.
sbt-checkstyle-plugin is now at version 1.0! Thanks to @JosephEarl and @AlejandroRivera it has several major new features.
checkstyle
task to fail when there are style issues at a configurable level.It should still be compatible with older versions, but check out the README for details on configuring the new features.
This release upgrades to Checkstyle 6.13.
If you would like to use a different version of Checkstyle, see the instructions here: https://github.com/etsy/sbt-checkstyle-plugin#upgrading-checkstyle-version
Handles the case where the target
directory did not exist before running checkstyle
.
See https://github.com/etsy/sbt-checkstyle-plugin/blob/master/README.md#xslt-transformations for instructions on using the xsltTransformations
feature.