-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
48 lines (47 loc) · 1.26 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
import java.net.URL
lazy val quintilian = project
.in(file("."))
.settings(
inThisBuild(
List(
organization := "de.musmehl",
organizationName := "Musmehl",
organizationHomepage := Some(
new URL("https://www.musmehl.de")
),
startYear := Some(2020),
licenses += ("GPL-3.0", new URL(
"https://www.gnu.org/licenses/gpl-3.0.en.html"
)),
scalaVersion := "2.13.2"
)
),
name := "quintilian",
libraryDependencies ++= List(
Dependencies.`scala-fx`,
Dependencies.`circe-core`,
Dependencies.`circe-generic`,
Dependencies.`circe-parser`,
Dependencies.`circe-yaml`,
Dependencies.scalatest % Test,
Dependencies.scalacheck % Test,
Dependencies.scalatestplus % Test
) ++ Dependencies.`java-fx`
)
// Package as a normal Java app
.enablePlugins(JavaAppPackaging)
// Scala linting via WartRemover
.settings(
wartremoverErrors ++= Warts.allBut(
// We use default arguments for case class constructors
Wart.DefaultArguments
)
)
// Integration tests
.configs(IntegrationTest)
.settings(
Defaults.itSettings,
libraryDependencies ++= List(
Dependencies.scalatest % IntegrationTest
)
)