forked from rikvdkleij/intellij-haskell
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
37 lines (31 loc) · 1.29 KB
/
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
29
30
31
32
33
34
35
36
37
lazy val commonSettings = Seq(
version := "1.0.0-beta85",
scalaVersion := "2.13.3"
)
val scalaTest = "org.scalatest" %% "scalatest" % "3.2.0" % Test
val sprayJson = "io.spray" %% "spray-json" % "1.3.6"
val snakeYaml = "org.yaml" % "snakeyaml" % "1.26"
val scaffeine = "com.github.blemale" %% "scaffeine" % "4.0.2"
val directories = "io.github.soc" % "directories" % "12"
val fastparse = "com.lihaoyi" %% "fastparse" % "2.2.2"
intellijPluginName in ThisBuild := "IntelliJ-Haskell"
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,
libraryDependencies += fastparse,
unmanagedSourceDirectories in Compile += baseDirectory.value / "gen"
)
intellijBuild in ThisBuild := "202.8194.7"
intellijPlugins += "com.intellij.java".toPlugin
// Get rid of:
// Unrecognized VM option 'UseConcMarkSweepGC'
intellijVMOptions := intellijVMOptions.value.copy(gc = "")