-
Notifications
You must be signed in to change notification settings - Fork 4
/
build.sbt
22 lines (18 loc) · 1.06 KB
/
build.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
name := "graalvm-scala-lambda"
scalaVersion := "2.13.8"
assembly / assemblyJarName := "graalvm-scala-lambda.jar"
assembly / mainClass := Some("bootstrap")
libraryDependencies ++= Seq(
"com.lihaoyi" %% "requests" % "0.7.1",
"com.github.plokhotnyuk.jsoniter-scala" %% "jsoniter-scala-core" % "2.13.38" % Compile,
"com.github.plokhotnyuk.jsoniter-scala" %% "jsoniter-scala-macros" % "2.13.38" % Provided // required only in compile-time
)
scalacOptions ++= Seq(
"-deprecation", // Emit warning and location for usages of deprecated APIs.
"-encoding", "utf-8", // Specify character encoding used by source files.
"-explaintypes", // Explain type errors in more detail.
"-feature", // Emit warning and location for usages of features that should be imported explicitly.
"-unchecked", // Enable additional warnings where generated code depends on assumptions.
"-Xcheckinit", // Wrap field accessors to throw an exception on uninitialized access.
"-Xfatal-warnings" // Fail the compilation if there are any warnings.
)