Skip to content

Commit

Permalink
Merge pull request #1638 from peterneyens/simulacrum-compile
Browse files Browse the repository at this point in the history
Make simulacrum a compile time only dependency
  • Loading branch information
ceedubs authored Apr 28, 2017
2 parents 58d680f + c095f2a commit f686984
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ lazy val commonSettings = Seq(
Resolver.sonatypeRepo("snapshots")
),
libraryDependencies ++= Seq(
"com.github.mpilquist" %%% "simulacrum" % "0.10.0",
"com.github.mpilquist" %%% "simulacrum" % "0.10.0" % "compile-time",
"org.typelevel" %%% "machinist" % "0.6.1",
compilerPlugin("org.scalamacros" %% "paradise" % "2.1.0" cross CrossVersion.patch),
compilerPlugin("org.spire-math" %% "kind-projector" % "0.9.3")
Expand All @@ -45,7 +45,9 @@ lazy val commonSettings = Seq(
parallelExecution in Test := false,
scalacOptions in (Compile, doc) := (scalacOptions in (Compile, doc)).value.filter(_ != "-Xfatal-warnings"),
// workaround for https://github.com/scalastyle/scalastyle-sbt-plugin/issues/47
scalastyleSources in Compile ++= (unmanagedSourceDirectories in Compile).value
scalastyleSources in Compile ++= (unmanagedSourceDirectories in Compile).value,
ivyConfigurations += config("compile-time").hide,
unmanagedClasspath in Compile ++= update.value.select(configurationFilter("compile-time"))
) ++ warnUnusedImport ++ update2_12

lazy val tagName = Def.setting{
Expand Down

0 comments on commit f686984

Please sign in to comment.