An sbt plugin for formating Java code
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
project sbt 1.1.6 Jun 28, 2018
.gitignore removing type-safe values, too complex, not useful Jul 11, 2016
.travis.yml finally right creds Jun 27, 2018
LICENSE Update Jun 27, 2018 Create Jun 21, 2018
build.sbt Set explicitly ktosopl repo Jun 21, 2018

sbt-java-formatter scaladex-badge travis-badge

An sbt plugin for formatting Java code. This plugin began as a combination of ideas from this blog post and this maven plugin.

However now this plugin uses Google Java Format library.

Use 0.3.0+ for sbt 1.0.0, and 0.2.0 for previous versions of sbt.


Add the plugin to project/plugins.sbt:

addSbtPlugin("com.lightbend.sbt" % "sbt-java-formatter" % "0.4.1")


Yes, we'll happily accept PRs to improve the plugin, but please note that the plugin is very rough around the edges.

Take a look at the contributors graph if you want to contact any of the contributors directly.


Apache v2