mirror of https://github.com/sbt/sbt.git
bump plugins
This commit is contained in:
parent
18f4fc75e5
commit
180af46fe5
|
|
@ -1,3 +1,4 @@
|
|||
version = 2.0.0-RC6
|
||||
maxColumn = 100
|
||||
project.git = true
|
||||
project.excludeFilters = [ /sbt-test/, /input_sources/, /contraband-scala/ ]
|
||||
|
|
@ -8,3 +9,13 @@ docstrings = JavaDoc
|
|||
|
||||
# This also seems more idiomatic to include whitespace in import x.{ yyy }
|
||||
spaces.inImportCurlyBraces = true
|
||||
|
||||
# This is more idiomatic Scala.
|
||||
# http://docs.scala-lang.org/style/indentation.html#methods-with-numerous-arguments
|
||||
align.openParenCallSite = false
|
||||
align.openParenDefnSite = false
|
||||
|
||||
# For better code clarity
|
||||
danglingParentheses = true
|
||||
|
||||
trailingCommas = preserve
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ install:
|
|||
script: sbt -Dfile.encoding=UTF8
|
||||
++$TRAVIS_SCALA_VERSION!
|
||||
mimaReportBinaryIssues
|
||||
scalafmt::test test:scalafmt::test sbt:scalafmt::test
|
||||
scalafmtCheckAll
|
||||
whitesourceCheckPolicies
|
||||
test
|
||||
scriptedIvy
|
||||
|
|
|
|||
|
|
@ -29,6 +29,8 @@ def commonSettings: Seq[Setting[_]] = Def.settings(
|
|||
}
|
||||
},
|
||||
inCompileAndTest(scalacOptions in console --= Vector("-Ywarn-unused-import", "-Ywarn-unused", "-Xlint")),
|
||||
scalafmtOnCompile := true,
|
||||
Test / scalafmtOnCompile := true,
|
||||
publishArtifact in Compile := true,
|
||||
publishArtifact in Test := false,
|
||||
parallelExecution in Test := false
|
||||
|
|
@ -57,7 +59,6 @@ lazy val lmRoot = (project in file("."))
|
|||
Some(ScmInfo(url(s"https://github.com/$slug"), s"git@github.com:$slug.git"))
|
||||
},
|
||||
bintrayPackage := "librarymanagement",
|
||||
scalafmtOnCompile in Sbt := false,
|
||||
git.baseVersion := "1.3.0",
|
||||
version := {
|
||||
val v = version.value
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
addSbtPlugin("org.scala-sbt" % "sbt-houserules" % "0.3.8")
|
||||
addSbtPlugin("com.lucidchart" % "sbt-scalafmt" % "1.15")
|
||||
addSbtPlugin("org.scala-sbt" % "sbt-houserules" % "0.3.9")
|
||||
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.0.0")
|
||||
addSbtPlugin("org.scala-sbt" % "sbt-contraband" % "0.4.2")
|
||||
addSbtPlugin("com.lightbend" % "sbt-whitesource" % "0.1.9")
|
||||
addSbtPlugin("com.lightbend" % "sbt-whitesource" % "0.1.14")
|
||||
|
||||
scalacOptions += "-language:postfixOps"
|
||||
|
|
|
|||
Loading…
Reference in New Issue