2015-09-30 23:27:04 +03:00
|
|
|
lazy val commonSettings = Seq(
|
2019-04-15 22:31:06 +03:00
|
|
|
version := "1.0.0-beta46",
|
2019-01-01 23:47:58 +03:00
|
|
|
scalaVersion := "2.12.8"
|
2015-09-30 23:27:04 +03:00
|
|
|
)
|
|
|
|
|
2018-01-18 16:00:12 +03:00
|
|
|
val scalaTest = "org.scalatest" %% "scalatest" % "3.0.4" % Test
|
2019-02-05 22:26:27 +03:00
|
|
|
val sprayJson = "io.spray" %% "spray-json" % "1.3.5"
|
2017-12-30 20:05:41 +03:00
|
|
|
val snakeYaml = "org.yaml" % "snakeyaml" % "1.19"
|
2018-04-23 21:30:21 +03:00
|
|
|
val scaffeine = "com.github.blemale" %% "scaffeine" % "2.5.0"
|
2019-02-05 22:26:27 +03:00
|
|
|
val directories = "io.github.soc" % "directories" % "11"
|
2015-09-30 23:27:04 +03:00
|
|
|
|
|
|
|
lazy val intellijHaskell = (project in file(".")).
|
|
|
|
enablePlugins(SbtIdeaPlugin).
|
|
|
|
settings(commonSettings: _*).
|
|
|
|
settings(
|
|
|
|
name := "IntelliJ Haskell",
|
2016-09-01 16:30:11 +03:00
|
|
|
javacOptions in Global ++= Seq("-source", "1.8", "-target", "1.8"),
|
2016-11-24 15:23:57 +03:00
|
|
|
scalacOptions in Global ++= Seq("-target:jvm-1.8", "-deprecation"),
|
2015-09-30 23:27:04 +03:00
|
|
|
libraryDependencies += scalaTest,
|
|
|
|
libraryDependencies += sprayJson,
|
2017-01-13 06:40:08 +03:00
|
|
|
libraryDependencies += snakeYaml,
|
2018-05-10 16:52:18 +03:00
|
|
|
libraryDependencies += scaffeine,
|
2018-10-04 21:57:21 +03:00
|
|
|
libraryDependencies += directories,
|
2018-04-23 21:30:21 +03:00
|
|
|
unmanagedSourceDirectories in Compile += baseDirectory.value / "gen"
|
2015-09-30 23:27:04 +03:00
|
|
|
)
|
|
|
|
|
2018-04-23 21:30:21 +03:00
|
|
|
|
2019-04-01 19:23:04 +03:00
|
|
|
ideaBuild in ThisBuild := "191.6183.87"
|