Releases: sbt/sbt-java-formatter
Releases · sbt/sbt-java-formatter
0.8.0
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
- gh actions setup used plugin not included in build by @johanandren in #157
- bump: sbt, scripted-plugin 1.5.6 (was 1.5.5) by @scala-steward in #165
- bump: sbt-ci-release 1.5.10 (was 1.5.9) by @scala-steward in #161
- bump: sbt, scripted-plugin 1.5.7 (was 1.5.6) by @scala-steward in #166
- bump: sbt, scripted-plugin 1.5.8 (was 1.5.7) by @scala-steward in #167
- bump: sbt, scripted-plugin 1.7.1 (was 1.5.8) by @scala-steward in #188
- bump: sbt-header 5.6.5 (was 5.6.0) by @scala-steward in #180
- bump: sbt-scalafmt 2.4.6 (was 2.4.3) by @scala-steward in #169
- bump: sbt, scripted-plugin 1.7.2 (was 1.7.1) by @scala-steward in #192
- bump: sbt-header 5.7.0 (was 5.6.5) by @scala-steward in #191
New Contributors
- @johanandren made their first contribution in #157
- @tamas4sunairio made their first contribution in #190
https://github.com/sbt/sbt-java-formatter/milestone/14?closed=1
Full Changelog: v0.7.0...v0.8.0
0.7.0
This release switches the default of format on compile to false, making it opt in.
0.6.1
0.6.0 - support AOSP style
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 settings allowing AOSP style (#100) by @joriscode
Add `javafmtOnCompile` setting
0.5.0 new tasks and sbt caching
Introduces new tasks (which share their sbt chache)
javafmt
formats Java files (done automatically oncompile
forCompile
andTest
configurations, unlessAutomateJavaFormatterPlugin
is disabled)javafmtAll
formats Java files for all configurations (Compile
andTest
by default)javafmtCheck
fails if files need reformattingjavafmtCheckAll
fails if files need reformatting in any configuration (Compile
andTest
by default)
sbt 1.3.x is required.
0.4.4
Google Java Formatter has been updated 1.7
All fixed issues in the milestone.
Credits
Author | Commits | Lines added | Lines removed |
---|---|---|---|
scala-steward | 3 | 3 | 3 |
dwijnand | 2 | 10 | 9 |
timo-schmid | 1 | 1 | 1 |