-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
32 lines (27 loc) · 1.32 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
name := "chess-gen-generator"
version := "0.0.1"
organization := "com.github.gekomad"
scalaVersion := "2.13.10"
libraryDependencies += "org.scalatest" %% "scalatest" % "3.3.0-SNAP2" % Test
scalacOptions ++= Seq(
"-deprecation",
"-encoding",
"UTF-8",
"-language:postfixOps",
"-feature",
"-unchecked", // Enable additional warnings where generated code depends on assumptions.
"-Xcheckinit", // Wrap field accessors to throw an exception on uninitialized access.
"-Xlint:private-shadow", // A private field (or class parameter) shadows a superclass field.
"-Xlint:stars-align", // Pattern sequence wildcard must align with sequence component.
"-Xlint:type-parameter-shadow", // A local type parameter shadows a type already in scope.
"-Ywarn-dead-code", // Warn when dead code is identified.
"-Ywarn-extra-implicit", // Warn when more than one implicit parameter section is defined.
"-Xlint:missing-interpolator", // A string literal appears to be missing an interpolator id.
"-Xlint:nullary-unit", // Warn when nullary methods return Unit.
"-Xlint:option-implicit", // Option.apply used implicit view.
"-Xlint:package-object-classes", // Class or object defined in package object.
"-explaintypes", // Explain type errors in more detail.
"-Xfatal-warnings",
"-Wvalue-discard"
)
Test / parallelExecution := false