2013-07-22 16:02:49 +02:00
|
|
|
crossBuildingSettings
|
|
|
|
|
|
2015-11-14 16:25:13 +01:00
|
|
|
CrossBuilding.crossSbtVersions := Seq("0.13")
|
2013-07-22 16:11:59 +02:00
|
|
|
|
2012-10-21 11:35:42 +02:00
|
|
|
CrossBuilding.scriptedSettings
|
2012-10-21 18:59:36 +02:00
|
|
|
|
2013-07-22 16:04:58 +02:00
|
|
|
libraryDependencies += "com.github.mdr" %% "ascii-graphs" % "0.0.3"
|
2013-07-22 16:12:10 +02:00
|
|
|
|
2013-07-22 16:24:15 +02:00
|
|
|
libraryDependencies <++= scalaVersion { version =>
|
|
|
|
|
if (version startsWith "2.1") Seq("org.scala-lang" % "scala-reflect" % version % "provided")
|
|
|
|
|
else Nil
|
|
|
|
|
}
|
|
|
|
|
|
2013-07-31 15:22:45 +02:00
|
|
|
libraryDependencies <+= scalaVersion { version =>
|
|
|
|
|
if (version startsWith "2.9") "org.specs2" % "specs2_2.9.3" % "1.12.4.1" % "test"
|
2014-12-22 12:17:52 +01:00
|
|
|
else "org.specs2" %% "specs2" % "2.3.11" % "test"
|
2013-07-31 15:22:45 +02:00
|
|
|
}
|
|
|
|
|
|
2013-07-22 16:12:10 +02:00
|
|
|
scalacOptions ++= Seq("-deprecation", "-unchecked")
|
2015-11-14 16:25:13 +01:00
|
|
|
|
|
|
|
|
sbt.CrossBuilding.latestCompatibleVersionMapper ~= {
|
|
|
|
|
original => {
|
2015-11-26 11:53:47 +01:00
|
|
|
case "0.13" => "0.13.6"
|
2015-11-14 16:25:13 +01:00
|
|
|
case x => original(x)
|
|
|
|
|
}
|
|
|
|
|
}
|
2015-11-17 17:32:02 +01:00
|
|
|
|
|
|
|
|
ScalariformSupport.formatSettings
|