forked from elevate-lang/elevate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
48 lines (38 loc) · 1.18 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
38
39
40
41
42
43
44
45
46
47
ThisBuild / scalaVersion := "2.13.3"
ThisBuild / organization := "org.elevate-lang"
lazy val commonSettings = Seq(
javaOptions ++= Seq("-Xss16m"),
scalacOptions ++= Seq(
"-Wunused:nowarn",
"-Xfatal-warnings",
"-Xlint:-unused",
"-Ymacro-annotations",
"-unchecked",
"-deprecation",
"-feature",
"-language:reflectiveCalls"
),
fork := true
)
lazy val elevate = (project in file("."))
.dependsOn(elevateMacros)
.settings(
name := "elevate",
version := "1.0",
commonSettings,
// Scala libraries
libraryDependencies += "org.scala-lang" % "scala-reflect" % scalaVersion.value,
libraryDependencies += "org.scala-lang" % "scala-compiler" % scalaVersion.value,
libraryDependencies += "org.scala-lang" % "scala-library" % scalaVersion.value,
// JUnit
libraryDependencies += "junit" % "junit" % "4.11",
// Scalatest
libraryDependencies += "org.scalatest" %% "scalatest" % "3.1.0" % "test"
)
lazy val elevateMacros = (project in file("macros"))
.settings(
name := "elevateMacros",
version := "1.0",
commonSettings,
libraryDependencies += "org.scala-lang" % "scala-reflect" % scalaVersion.value
)