Skip to content

Commit

Permalink
Group root project settings together.
Browse files Browse the repository at this point in the history
  • Loading branch information
arashi01 committed Jan 24, 2021
1 parent 728ca90 commit 7392b73
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,14 @@ scalacOptions in(Compile, doc) := Seq(
baseDirectory.in(LocalRootProject).value.getAbsolutePath
)

scalacOptions in(Compile, console) --= Seq("-Ywarn-unused-import", "-Ywarn-unused:imports")
scalacOptions in(Test, console) := (scalacOptions in(Compile, console)).value

publishMavenStyle := true
pomIncludeRepository := { _ =>
false
}

inThisBuild(
Seq(
scalacOptions ++= Seq(
Expand Down Expand Up @@ -126,14 +134,6 @@ inThisBuild(
)
)

scalacOptions in(Compile, console) --= Seq("-Ywarn-unused-import", "-Ywarn-unused:imports")
scalacOptions in(Test, console) := (scalacOptions in(Compile, console)).value

publishMavenStyle := true
pomIncludeRepository := { _ =>
false
}

lazy val `circe-config` =
(project in file("."))

Expand Down

0 comments on commit 7392b73

Please sign in to comment.