mirror of
https://github.com/sbt/sbt.git
synced 2026-08-29 17:38:02 +02:00
The swoval javafmt plugin uses the google java formatter (which I believe is the only widely used java formatter) to format source files. It does not provide an automatic javafmtOnCompile method like the scalafmt plugin so I had to manually implement that functionality. In general the java formatter is much faster than scalafmt so the impact of having javafmtOnCompile set to true is very low.