2018-07-16 11:57:50 +02:00
|
|
|
scriptedLaunchOpts += s"-Dproject.version=${version.value}"
|
2012-10-21 18:59:36 +02:00
|
|
|
|
2017-08-14 15:36:50 +02:00
|
|
|
libraryDependencies ++= {
|
2017-08-29 16:48:27 +02:00
|
|
|
if ((sbtVersion in pluginCrossBuild).value startsWith "0.13")
|
2017-08-14 15:36:50 +02:00
|
|
|
Seq("com.github.mdr" %% "ascii-graphs" % "0.0.3")
|
|
|
|
|
else
|
|
|
|
|
Nil
|
|
|
|
|
}
|
|
|
|
|
|
2017-10-23 16:19:47 +02:00
|
|
|
|
2018-07-16 11:57:50 +02:00
|
|
|
libraryDependencies += "org.specs2" %% "specs2-core" % "3.10.0" % Test
|
2013-07-31 15:22:45 +02:00
|
|
|
|
2017-09-07 17:04:59 +02:00
|
|
|
libraryDependencies += Defaults.sbtPluginExtra(
|
2018-07-16 11:57:50 +02:00
|
|
|
"com.dwijnand" % "sbt-compat" % "1.2.6",
|
2017-09-07 17:04:59 +02:00
|
|
|
(sbtBinaryVersion in pluginCrossBuild).value,
|
|
|
|
|
(scalaBinaryVersion in update).value
|
|
|
|
|
)
|
|
|
|
|
|
2018-07-16 11:57:50 +02:00
|
|
|
crossSbtVersions := Seq("1.1.6", "0.13.16")
|
2017-08-29 16:48:27 +02:00
|
|
|
|
2017-10-23 16:19:47 +02:00
|
|
|
scalacOptions ++= Seq(
|
|
|
|
|
"-deprecation",
|
|
|
|
|
"-encoding", "UTF-8",
|
|
|
|
|
"-feature",
|
|
|
|
|
"-unchecked"
|
|
|
|
|
)
|
2017-08-29 16:48:27 +02:00
|
|
|
|
2017-10-23 16:19:47 +02:00
|
|
|
ScalariformSupport.formatSettings
|