forked from rikvdkleij/intellij-haskell
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
28 lines (24 loc) · 1003 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
lazy val commonSettings = Seq(
version := "1.0.0-beta51",
scalaVersion := "2.13.0"
)
val scalaTest = "org.scalatest" %% "scalatest" % "3.0.8" % Test
val sprayJson = "io.spray" %% "spray-json" % "1.3.5"
val snakeYaml = "org.yaml" % "snakeyaml" % "1.23"
val scaffeine = "com.github.blemale" %% "scaffeine" % "3.0.0"
val directories = "io.github.soc" % "directories" % "11"
lazy val intellijHaskell = (project in file(".")).
enablePlugins(SbtIdeaPlugin).
settings(commonSettings: _*).
settings(
name := "IntelliJ Haskell",
javacOptions in Global ++= Seq("-source", "1.8", "-target", "1.8"),
scalacOptions in Global ++= Seq("-target:jvm-1.8", "-deprecation", "-feature"),
libraryDependencies += scalaTest,
libraryDependencies += sprayJson,
libraryDependencies += snakeYaml,
libraryDependencies += scaffeine,
libraryDependencies += directories,
unmanagedSourceDirectories in Compile += baseDirectory.value / "gen"
)
ideaBuild in ThisBuild := "191.7479.19"