Skip to content

Releases: sbt/sbt-java-formatter

0.8.0

20 Oct 15:46
839a326
Compare
Choose a tag to compare

What's Changed

  • Use the Import Sorting Feature of the Formatter by @tamas4sunairio in #190
    "Fixing imports includes ordering, spacing, and removal of unused import statements."

Chore

New Contributors

https://github.com/sbt/sbt-java-formatter/milestone/14?closed=1

Full Changelog: v0.7.0...v0.8.0

0.7.0

17 Nov 10:40
1fc9fcc
Compare
Choose a tag to compare

This release switches the default of format on compile to false, making it opt in.

See #151 Set javafmtOnCompile := false by default

0.6.1

25 Aug 13:42
Compare
Choose a tag to compare

Changes

  • Re-release on Maven Central, migrating off of Bintray. #126 / #130

Milestone: https://github.com/sbt/sbt-java-formatter/milestone/11

0.6.0 - support AOSP style

17 Aug 03:20
256b9a1
Compare
Choose a tag to compare

Formatter can be configured to use either Google Java Style (by default) or AOSP style.

Allow any other java formatter options to be configured, such as enabling or disabling Javadoc formatting.

Changes

Add `javafmtOnCompile` setting

06 Mar 11:36
9dc94ef
Compare
Choose a tag to compare

Introduces the setting javafmtOnCompile so that users can op-out of Java formatting triggered by compilation.

0.5.0 new tasks and sbt caching

19 Dec 08:54
Compare
Choose a tag to compare

Introduces new tasks (which share their sbt chache)

  • javafmt formats Java files (done automatically on compile for Compile and Test configurations, unless AutomateJavaFormatterPlugin is disabled)
  • javafmtAll formats Java files for all configurations (Compile and Test by default)
  • javafmtCheck fails if files need reformatting
  • javafmtCheckAll fails if files need reformatting in any configuration (Compile and Test by default)

sbt 1.3.x is required.

0.4.4

21 Feb 12:14
@2m 2m
fa21243
Compare
Choose a tag to compare

Google Java Formatter has been updated 1.7

All fixed issues in the milestone.

Credits

Author Commits Lines added Lines removed
scala-steward scala-steward 3 3 3
dwijnand dwijnand 2 10 9
timo-schmid timo-schmid 1 1 1

0.4.3

15 Feb 12:42
v0.4.3
0660520
Compare
Choose a tag to compare

This release only exists to (temporarily!) re-cross-build the plugin for sbt 0.13.

0.4.2

15 Feb 12:41
v0.4.2
4470f3d
Compare
Choose a tag to compare
0.4.2 Pre-release
Pre-release

Botched release.

0.4.1

27 Jun 10:11
@2m 2m
066e272
Compare
Choose a tag to compare

Same jar as 0.4.0, just the release process has been improved to be automatic.

Credits

Author Commits Lines added Lines removed
ktoso ktoso 3 6 6
2m 2m 2 11 1