From 382113ec1cde81193966617c593196ee1e5abb43 Mon Sep 17 00:00:00 2001 From: xuwei-k <6b656e6a69@gmail.com> Date: Wed, 10 Jan 2018 11:43:47 +0900 Subject: [PATCH] update sbt plugins scalafmt plugin commands changed. see - https://github.com/scalameta/scalafmt/pull/1085 - https://github.com/scalameta/scalafmt/blob/v1.4.0/scalafmt-sbt/src/main/scala/org/scalafmt/sbt/ScalafmtPlugin.scala#L18-L32 --- README.md | 2 +- project/plugins.sbt | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 65a9681a1..ea4cb1b1e 100644 --- a/README.md +++ b/README.md @@ -74,7 +74,7 @@ Here is a list of sbt commands for daily development: > findbugs # Produce findbugs report in target/findbugs > jacoco:cover # Report the code coverage of tests to target/jacoco folder > jcheckStyle # Run check style -> scalafmt # Reformat Scala codes +> ;scalafmt;test:scalafmt;scalafmtSbt # Reformat Scala codes ``` ### Publishing diff --git a/project/plugins.sbt b/project/plugins.sbt index 4e683911c..a4fc6f318 100755 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -1,11 +1,11 @@ -addSbtPlugin("com.github.gseitz" % "sbt-release" % "1.0.6") +addSbtPlugin("com.github.gseitz" % "sbt-release" % "1.0.7") addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "2.0") addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.1.0") addSbtPlugin("com.github.sbt" % "sbt-findbugs" % "2.0.0") addSbtPlugin("com.github.sbt" % "sbt-jacoco" % "3.0.3") addSbtPlugin("org.xerial.sbt" % "sbt-jcheckstyle" % "0.2.0") addSbtPlugin("com.typesafe.sbt" % "sbt-osgi" % "0.9.2") -addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.0-RC13") -addSbtPlugin("com.geirsson" % "sbt-scalafmt" % "1.3.0") +addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.0") +addSbtPlugin("com.geirsson" % "sbt-scalafmt" % "1.4.0") scalacOptions ++= Seq("-deprecation", "-feature")