mirror of
https://github.com/ilyakooo0/intellij-haskell.git
synced 2024-09-11 14:56:19 +03:00
29 lines
1003 B
Scala
29 lines
1003 B
Scala
lazy val commonSettings = Seq(
|
|
version := "1.0.0-beta47",
|
|
scalaVersion := "2.12.8"
|
|
)
|
|
|
|
val scalaTest = "org.scalatest" %% "scalatest" % "3.0.4" % Test
|
|
val sprayJson = "io.spray" %% "spray-json" % "1.3.5"
|
|
val snakeYaml = "org.yaml" % "snakeyaml" % "1.19"
|
|
val scaffeine = "com.github.blemale" %% "scaffeine" % "2.6.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.6183.87"
|