Skip to content

Releases: etsy/sbt-checkstyle-plugin

Follow SBT Plugin Best Practices

29 Mar 19:53
Compare
Choose a tag to compare

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

11 Feb 16:36
Compare
Choose a tag to compare

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

18 Dec 17:46
Compare
Choose a tag to compare

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:

  1. Move everything into the com.etsy.sbt.checkstyle package
  2. Remove the deprecated configFile setting
  3. Remove checkstyle prefix from setting names and remove the CheckstyleTasks object
  4. Match names with the Maven Checkstyle plugin when possible

The README has been updated to reflect these changes.

Version 1.0!

10 Dec 20:21
Compare
Choose a tag to compare

sbt-checkstyle-plugin is now at version 1.0! Thanks to @josephearl and @AlejandroRivera it has several major new features.

  1. The Checkstyle configuration file can now be loaded from a file like before, a URL, or from a resource file on the classpath.
  2. You can set the checkstyle task to fail when there are style issues at a configurable level.
  3. 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

01 Dec 00:17
Compare
Choose a tag to compare

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

01 Jun 19:18
Compare
Choose a tag to compare

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

31 May 15:47
Compare
Choose a tag to compare