-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
36 lines (28 loc) · 785 Bytes
/
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
name := "reproducebylog"
scalaVersion := "2.12.7"
libraryDependencies ++= Seq(
"org.scalatest" %% "scalatest" % "3.0.5" % "test",
)
val unusedWarnings = (
"-Ywarn-unused" ::
"-Ywarn-unused-import" ::
Nil
)
scalacOptions ++= (
"-deprecation" ::
"-unchecked" ::
"-Xlint" ::
"-Xfuture" ::
"-language:existentials" ::
"-language:higherKinds" ::
"-language:implicitConversions" ::
"-Yno-adapted-args" ::
Nil
) ::: unusedWarnings
assemblyJarName in assembly := "reproducebylog.jar"
/* skip the test during assembly */
test in assembly := {}
/* set an explicit main class */
mainClass in assembly := Some("behiron.reproducebylog.sample.accessLogSample")
Seq(Compile, Test).flatMap(c =>
scalacOptions in (c, console) --= unusedWarnings)