Releases: etsy/sbt-checkstyle-plugin
Follow SBT Plugin Best Practices
Thanks to @josephearl sbt-checkstyle-plugin now follows the best practices guide for SBT plugins. The changes include:
- Use autoImport, namespace all auto-imported keys and types
- Separate Checkstyle from CheckstylePlugin to allow easier integration with other plugins
- Add list of all settings to README
- Rename the config sbt-tests so they all start with checkstyle-config-
The names of the setting and task keys changed in this release. Check the README for updated information on configuring and using the plugin.
Upgrade to Checkstyle 6.15
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
Convert to an AutoPlugin
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:
- Move everything into the com.etsy.sbt.checkstyle package
- Remove the deprecated configFile setting
- Remove checkstyle prefix from setting names and remove the CheckstyleTasks object
- Match names with the Maven Checkstyle plugin when possible
The README has been updated to reflect these changes.
Version 1.0!
sbt-checkstyle-plugin is now at version 1.0! Thanks to @josephearl and @AlejandroRivera it has several major new features.
- The Checkstyle configuration file can now be loaded from a file like before, a URL, or from a resource file on the classpath.
- You can set the
checkstyle
task to fail when there are style issues at a configurable level. - You can now run Checkstyle over integration tests
It should still be compatible with older versions, but check out the README for details on configuring the new features.
Upgrade to Checkstyle 6.13
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
Bugfix for xsltTransformations
Handles the case where the target
directory did not exist before running checkstyle
.
Add support for applying XSLT transformations to the XML report generated by checkstyle
See https://github.com/etsy/sbt-checkstyle-plugin/blob/master/README.md#xslt-transformations for instructions on using the xsltTransformations
feature.