mirror of https://github.com/sbt/sbt.git
Format the build
This commit is contained in:
parent
4074e283d3
commit
f5d66db0a6
42
build.sbt
42
build.sbt
|
|
@ -37,8 +37,9 @@ lazy val lmRoot = (project in file("."))
|
|||
Seq(
|
||||
homepage := Some(url("https://github.com/sbt/librarymanagement")),
|
||||
description := "Library management module for sbt",
|
||||
scmInfo := Some(ScmInfo(url("https://github.com/sbt/librarymanagement"),
|
||||
"git@github.com:sbt/librarymanagement.git")),
|
||||
scmInfo := Some(ScmInfo(
|
||||
url("https://github.com/sbt/librarymanagement"), "git@github.com:sbt/librarymanagement.git"
|
||||
)),
|
||||
bintrayPackage := "librarymanagement",
|
||||
scalafmtOnCompile := true,
|
||||
// scalafmtVersion 1.0.0-RC3 has regression
|
||||
|
|
@ -63,21 +64,16 @@ lazy val lm = (project in file("librarymanagement"))
|
|||
.settings(
|
||||
commonSettings,
|
||||
name := "librarymanagement",
|
||||
libraryDependencies ++= Seq(ivy,
|
||||
jsch,
|
||||
scalaReflect.value,
|
||||
launcherInterface,
|
||||
gigahorseOkhttp,
|
||||
okhttpUrlconnection,
|
||||
sjsonnewScalaJson.value % Optional),
|
||||
libraryDependencies ++= Seq(
|
||||
ivy, jsch, scalaReflect.value, launcherInterface, gigahorseOkhttp, okhttpUrlconnection,
|
||||
sjsonnewScalaJson.value % Optional
|
||||
),
|
||||
libraryDependencies ++= scalaXml.value,
|
||||
resourceGenerators in Compile += Def
|
||||
.task(
|
||||
Util.generateVersionFile(version.value,
|
||||
resourceManaged.value,
|
||||
streams.value,
|
||||
(compile in Compile).value))
|
||||
.taskValue,
|
||||
resourceGenerators in Compile += Def.task(
|
||||
Util.generateVersionFile(
|
||||
version.value, resourceManaged.value, streams.value, (compile in Compile).value
|
||||
)
|
||||
).taskValue,
|
||||
// mimaBinaryIssueFilters ++= Seq(),
|
||||
managedSourceDirectories in Compile +=
|
||||
baseDirectory.value / "src" / "main" / "contraband-scala",
|
||||
|
|
@ -91,12 +87,14 @@ lazy val lm = (project in file("librarymanagement"))
|
|||
(((srcs --- sdirs --- base) pair (relativeTo(sdirs) | relativeTo(base) | flat)) toSeq)
|
||||
}
|
||||
)
|
||||
.configure(addSbtIO,
|
||||
addSbtUtilLogging,
|
||||
addSbtUtilTesting,
|
||||
addSbtUtilCollection,
|
||||
addSbtUtilCompletion,
|
||||
addSbtUtilCache)
|
||||
.configure(
|
||||
addSbtIO,
|
||||
addSbtUtilLogging,
|
||||
addSbtUtilTesting,
|
||||
addSbtUtilCollection,
|
||||
addSbtUtilCompletion,
|
||||
addSbtUtilCache
|
||||
)
|
||||
.enablePlugins(ContrabandPlugin, JsonCodecPlugin)
|
||||
|
||||
def customCommands: Seq[Setting[_]] = Seq(
|
||||
|
|
|
|||
Loading…
Reference in New Issue