mirror of https://github.com/sbt/sbt.git
commit
53efe2e9b7
|
|
@ -10,7 +10,7 @@ env:
|
|||
# WHITESOURCE_PASSWORD=
|
||||
- secure: d3bu2KNwsVHwfhbGgO+gmRfDKBJhfICdCJFGWKf2w3Gv86AJZX9nuTYRxz0KtdvEHO5Xw8WTBZLPb2thSJqhw9OCm4J8TBAVqCP0ruUj4+aqBUFy4bVexQ6WKE6nWHs4JPzPk8c6uC1LG3hMuzlC8RGETXtL/n81Ef1u7NjyXjs=
|
||||
matrix:
|
||||
- SBT_CMD=";mimaReportBinaryIssues ;scalafmt::test ;test:scalafmt::test ;sbt:scalafmt::test ;headerCheck ;test:headerCheck ;whitesourceOnPush ;test:compile ;mainSettingsProj/test ;safeUnitTests ;otherUnitTests; doc"
|
||||
- SBT_CMD=";mimaReportBinaryIssues ;scalafmtCheck ;headerCheck ;test:headerCheck ;whitesourceOnPush ;test:compile ;mainSettingsProj/test ;safeUnitTests ;otherUnitTests; doc"
|
||||
- SBT_CMD="scripted actions/*"
|
||||
- SBT_CMD="scripted apiinfo/* compiler-project/* ivy-deps-management/*"
|
||||
- SBT_CMD="scripted dependency-management/*1of4"
|
||||
|
|
|
|||
|
|
@ -40,8 +40,6 @@ def buildLevelSettings: Seq[Setting[_]] =
|
|||
scmInfo := Some(ScmInfo(url("https://github.com/sbt/sbt"), "git@github.com:sbt/sbt.git")),
|
||||
resolvers += Resolver.mavenLocal,
|
||||
scalafmtOnCompile := true,
|
||||
scalafmtOnCompile in Sbt := false,
|
||||
scalafmtVersion := "1.4.0",
|
||||
))
|
||||
|
||||
def commonSettings: Seq[Setting[_]] = Def.settings(
|
||||
|
|
|
|||
|
|
@ -58,6 +58,8 @@ private[sbt] final class ArbitraryCommand(
|
|||
new ArbitraryCommand(parser, help, tags.put(key, value))
|
||||
}
|
||||
|
||||
// format: off
|
||||
|
||||
object Command {
|
||||
import DefaultParsers._
|
||||
|
||||
|
|
@ -219,6 +221,8 @@ object Command {
|
|||
((c & opOrIDSpaced(name)) ~ c.+) map { case (f, rem) => (f +: rem).mkString }
|
||||
}
|
||||
|
||||
// format: on
|
||||
|
||||
trait Help {
|
||||
def detail: Map[String, String]
|
||||
def brief: Seq[(String, String)]
|
||||
|
|
|
|||
|
|
@ -14,9 +14,9 @@ object Dependencies {
|
|||
private val lmVersion =
|
||||
sys.props.get("sbt.build.lm.version") match {
|
||||
case Some(version) => version
|
||||
case _ => "1.3.0-M1"
|
||||
case _ => "1.3.0-M2"
|
||||
}
|
||||
private val zincVersion = "1.3.0-M2"
|
||||
private val zincVersion = "1.3.0-M3"
|
||||
|
||||
private val sbtIO = "org.scala-sbt" %% "io" % ioVersion
|
||||
|
||||
|
|
@ -130,8 +130,8 @@ object Dependencies {
|
|||
("org.scala-lang.modules" %% name % moduleVersion) :: Nil
|
||||
)
|
||||
|
||||
val scalaXml = scala211Module("scala-xml", "1.0.6")
|
||||
val scalaParsers = scala211Module("scala-parser-combinators", "1.0.5")
|
||||
val scalaXml = scala211Module("scala-xml", "1.1.1")
|
||||
val scalaParsers = scala211Module("scala-parser-combinators", "1.1.1")
|
||||
|
||||
def log4jVersion = "2.11.1"
|
||||
val log4jApi = "org.apache.logging.log4j" % "log4j-api" % log4jVersion
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ scalaVersion := "2.12.8"
|
|||
scalacOptions ++= Seq("-feature", "-language:postfixOps")
|
||||
|
||||
addSbtPlugin("org.scala-sbt" % "sbt-houserules" % "0.3.9")
|
||||
addSbtPlugin("com.lucidchart" % "sbt-scalafmt" % "1.15")
|
||||
addSbtPlugin("com.geirsson" % "sbt-scalafmt" % "1.5.1")
|
||||
addSbtPlugin("org.scala-sbt" % "sbt-contraband" % "0.4.1")
|
||||
addSbtPlugin("de.heikoseeberger" % "sbt-header" % "3.0.2")
|
||||
addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.8.0")
|
||||
|
|
|
|||
Loading…
Reference in New Issue