This repository was archived by the owner on Jul 16, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.sbt
More file actions
47 lines (42 loc) · 1.26 KB
/
build.sbt
File metadata and controls
47 lines (42 loc) · 1.26 KB
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
import scalariform.formatter.preferences._
val scalazRepo = "Scalaz Bintray Repo" at "http://dl.bintray.com/scalaz/releases"
val scalatest = "org.scalatest" %% "scalatest" % "3.0.1" % "test"
val scalamock = "org.scalamock" %% "scalamock-scalatest-support" % "3.6.0" % "test"
val scalacheck = "org.scalacheck" %% "scalacheck" % "1.13.4" % "test"
val commonSettings = scalariformSettings ++ Seq(
version := "1.0.0-SNAPSHOT",
organization := "net.pointsgame",
scalaVersion := "2.12.3",
scalacOptions ++= Seq(
"-unchecked",
"-deprecation",
"-feature",
"-encoding", "utf8",
"-Xfuture",
"-Xlint"
),
scalariformPreferences := scalariformPreferences.value
.setPreference(AlignParameters, true)
.setPreference(AlignSingleLineCaseStatements, true)
.setPreference(DoubleIndentClassDeclaration, false),
wartremoverWarnings ++= Seq(
Wart.ToString,
Wart.StringPlusAny,
Wart.Null,
Wart.Return
),
resolvers ++= Seq(
Resolver.sonatypeRepo("releases"),
scalazRepo
),
libraryDependencies ++= Seq(
scalatest,
scalamock,
scalacheck
)
)
lazy val paper = project.in(file("./modules/paper"))
.settings(commonSettings: _*)
lazy val root = project.in(file("."))
.settings(commonSettings: _*)
.aggregate(paper)