diff --git a/build.sbt b/build.sbt index 8cb4a343f..c4a7dd5b3 100644 --- a/build.sbt +++ b/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(