-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
44 lines (42 loc) · 1.5 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
ThisBuild / scalaVersion := "2.13.10"
lazy val publishSettings = Seq(
Test / publishArtifact := false,
pomIncludeRepository := (_ => false),
organization := "io.laserdisc",
homepage := Some(url("http://laserdisc.io/console4s")),
developers := List(Developer("barryoneill", "Barry O'Neill", "", url("https://github.com/barryoneill"))),
licenses := Seq("MIT" -> url("https://raw.githubusercontent.com/laserdisc-io/console4s/master/LICENSE")),
scmInfo := Some(
ScmInfo(
url("https://github.com/laserdisc-io/console4s/tree/master"),
"scm:git:[email protected]:laserdisc-io/console4s.git",
"scm:git:[email protected]:laserdisc-io/console4s.git"
)
)
)
val root =
(project in file("."))
.settings(
name := "console4s",
Dependencies.Testing,
publishSettings,
Seq(
addCompilerPlugin("com.olegpy" %% "better-monadic-for" % "0.3.1"),
scalacOptions ++= Seq(
"-encoding",
"UTF-8",
"-deprecation",
"-unchecked",
"-feature",
"-language:higherKinds",
"-language:implicitConversions",
"-language:postfixOps",
"-Xlint:_,-byname-implicit",
"-Xfatal-warnings"
)
),
addCommandAlias("format", ";scalafmtAll;scalafmtSbt"),
addCommandAlias("checkFormat", ";scalafmtCheckAll;scalafmtSbtCheck"),
addCommandAlias("fullTest", ";clean;checkFormat;test")
)
.enablePlugins(GitVersioning)