forked from sbt/sbt-dependency-graph
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
28 lines (20 loc) · 736 Bytes
/
build.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
crossBuildingSettings
CrossBuilding.crossSbtVersions := Seq("0.13")
CrossBuilding.scriptedSettings
libraryDependencies += "com.github.mdr" %% "ascii-graphs" % "0.0.3"
libraryDependencies <++= scalaVersion { version =>
if (version startsWith "2.1") Seq("org.scala-lang" % "scala-reflect" % version % "provided")
else Nil
}
libraryDependencies <+= scalaVersion { version =>
if (version startsWith "2.9") "org.specs2" % "specs2_2.9.3" % "1.12.4.1" % "test"
else "org.specs2" %% "specs2" % "2.3.11" % "test"
}
scalacOptions ++= Seq("-deprecation", "-unchecked")
sbt.CrossBuilding.latestCompatibleVersionMapper ~= {
original => {
case "0.13" => "0.13.6"
case x => original(x)
}
}
ScalariformSupport.formatSettings