-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.sbt
More file actions
33 lines (27 loc) · 819 Bytes
/
build.sbt
File metadata and controls
33 lines (27 loc) · 819 Bytes
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
val scala3Version = "3.6.3"
lazy val root = project
.in(file("."))
.settings(
name := "wasm-cps",
version := "0.1.0-SNAPSHOT",
scalaVersion := scala3Version,
libraryDependencies += "com.novocode" % "junit-interface" % "0.11" % "test",
libraryDependencies += "org.scala-lang" %% "scala3-staging" % scalaVersion.value,
libraryDependencies += "org.antlr" % "antlr4-runtime" % "4.13.0",
libraryDependencies += "org.scalatest" %% "scalatest" % "3.2.19" % Test
)
fork := true
val commonJavaOptions = Seq(
"-Xms4G",
"-Xmx32G",
"-Xss1024M",
"-XX:MaxMetaspaceSize=8G",
"-XX:ReservedCodeCacheSize=2048M"
)
run / javaOptions ++= commonJavaOptions
Test / javaOptions ++= commonJavaOptions
Test / parallelExecution := false
scalacOptions ++= Seq(
"-Xcheck-macros",
"-explain"
)