forked from rikvdkleij/intellij-haskell
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
31 lines (26 loc) · 1.07 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
lazy val commonSettings = Seq(
version := "1.0.0-beta66",
scalaVersion := "2.13.1"
)
val scalaTest = "org.scalatest" %% "scalatest" % "3.0.8" % Test
val sprayJson = "io.spray" %% "spray-json" % "1.3.5"
val snakeYaml = "org.yaml" % "snakeyaml" % "1.25"
val scaffeine = "com.github.blemale" %% "scaffeine" % "3.1.0"
val directories = "io.github.soc" % "directories" % "11"
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,
unmanagedSourceDirectories in Compile += baseDirectory.value / "gen"
)
intellijBuild in ThisBuild := "201.6487.11"
intellijInternalPlugins += "java"