-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.sbt
67 lines (60 loc) · 1.63 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
import Dependencies._
name := "zircon.skeleton.scala"
ThisBuild / organization := "org.hexworks.zircon"
ThisBuild / organizationName := "Hexworks"
ThisBuild / version := "1.0.1"
ThisBuild / scalaVersion := "2.13.8"
ThisBuild / scalafixDependencies += Plugin.organizeImports
ThisBuild / semanticdbEnabled := true
ThisBuild / semanticdbVersion := scalafixSemanticdb.revision
ThisBuild / scalacOptions ++= Seq(
"-deprecation",
"-encoding",
"utf-8",
"-explaintypes",
"-feature",
"-language:higherKinds",
"-Wdead-code",
"-Wextra-implicit",
"-Wmacros:both",
"-Wnumeric-widen",
"-Woctal-literal",
"-Wunused:explicits",
"-Wunused:implicits",
"-Wunused:imports",
"-Wunused:linted",
"-Wunused:locals",
"-Wunused:patvars",
"-Wunused:privates",
"-Wvalue-discard",
"-Xlint:adapted-args",
"-Xlint:constant",
"-Xlint:delayedinit-select",
"-Xlint:deprecation",
"-Xlint:doc-detached",
"-Xlint:eta-sam",
"-Xlint:eta-zero",
"-Xlint:implicit-not-found",
"-Xlint:implicit-recursion",
"-Xlint:inaccessible",
"-Xlint:infer-any",
"-Xlint:missing-interpolator",
"-Xlint:nonlocal-return",
"-Xlint:nullary-unit",
"-Xlint:option-implicit",
"-Xlint:poly-implicit-overload",
"-Xlint:private-shadow",
"-Xlint:serial",
"-Xlint:stars-align",
"-Xlint:type-parameter-shadow",
"-Xlint:valpattern",
"-Xsource:3"
)
ideExcludedDirectories := Seq(
baseDirectory.value / ".bsp",
baseDirectory.value / ".idea",
baseDirectory.value / "project" / "project",
baseDirectory.value / "target"
)
Global / excludeLintKeys += ideExcludedDirectories
libraryDependencies ++= Seq(Lib.scalatest, Lib.zirconCore, Lib.zirconSwing)