diff --git a/readme.md b/readme.md index f5e748e..4a229af 100644 --- a/readme.md +++ b/readme.md @@ -1,7 +1,7 @@ # sbt-scalafmt [![Join the chat at https://gitter.im/scalameta/scalafmt](https://badges.gitter.im/scalameta/scalafmt.svg)](https://gitter.im/scalameta/scalafmt?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![Join the discord chat](https://img.shields.io/discord/632642981228314653?label=discord)](https://discordapp.com/channels/632642981228314653/632665341864181780) -[![Maven Central](https://maven-badges.herokuapp.com/maven-central/org.scalameta/sbt-scalafmt/badge.svg?kill_cache=1)](https://search.maven.org/artifact/org.scalameta/sbt-scalafmt/) +[![Latest version](https://index.scala-lang.org/scalameta/sbt-scalafmt/latest.svg?kill_cache=1)](https://index.scala-lang.org/scalameta/sbt-scalafmt) This is the repository for the Scalafmt sbt plugin, for the main Scalafmt repository see [scalameta/scalafmt](https://github.com/scalameta/scalafmt/). @@ -9,7 +9,7 @@ repository see [scalameta/scalafmt](https://github.com/scalameta/scalafmt/). ### Installation Add following line into `project/plugins.sbt` (latest version is available next to the -**maven central** badge above) +**sbt-scalafmt** badge above) ```sbt addSbtPlugin("org.scalameta" % "sbt-scalafmt" % PLUGIN_VERSION) ``` @@ -19,6 +19,12 @@ If the above does not work, in enterprise environments, try: libraryDependencies += "org.scalameta" % "sbt-scalafmt_2.12_1.0" % PLUGIN_VERSION ``` +#### JDK compatibility +| JDK | Release | +| ---- | ---------------| +| 8 | Up to `v2.5.1` | +| 11+ | _latest_ | + ### [User documentation](https://scalameta.org/scalafmt/) Head over to [the user docs](https://scalameta.org/scalafmt/docs/installation.html#sbt) for instructions on how to install and use scalafmt.