2015-09-30 23:27:04 +03:00
|
|
|
lazy val commonSettings = Seq(
|
2020-02-09 22:07:38 +03:00
|
|
|
version := "1.0.0-beta58",
|
2019-09-23 16:05:23 +03:00
|
|
|
scalaVersion := "2.13.1"
|
2015-09-30 23:27:04 +03:00
|
|
|
)
|
|
|
|
|
2019-06-28 14:45:54 +03:00
|
|
|
val scalaTest = "org.scalatest" %% "scalatest" % "3.0.8" % Test
|
2019-02-05 22:26:27 +03:00
|
|
|
val sprayJson = "io.spray" %% "spray-json" % "1.3.5"
|
2019-09-07 20:24:55 +03:00
|
|
|
val snakeYaml = "org.yaml" % "snakeyaml" % "1.25"
|
|
|
|
val scaffeine = "com.github.blemale" %% "scaffeine" % "3.1.0"
|
2019-02-05 22:26:27 +03:00
|
|
|
val directories = "io.github.soc" % "directories" % "11"
|
2015-09-30 23:27:04 +03:00
|
|
|
|
2019-12-22 20:46:52 +03:00
|
|
|
intellijPluginName in ThisBuild := "IntelliJ-Haskell"
|
2019-09-11 22:26:14 +03:00
|
|
|
|
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"),
|
2019-05-23 15:46:02 +03:00
|
|
|
scalacOptions in Global ++= Seq("-target:jvm-1.8", "-deprecation", "-feature"),
|
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
|
|
|
)
|
|
|
|
|
2019-12-22 20:46:52 +03:00
|
|
|
intellijBuild in ThisBuild := "193.5662.53"
|
2019-09-21 01:04:36 +03:00
|
|
|
|
2019-12-22 20:46:52 +03:00
|
|
|
intellijInternalPlugins += "java"
|